Part Number Hot Search : 
ATTINY GB302 PIC12F A1211 HC274 STLS10 TODV1240 P3500
Product Description
Full Text Search
 

To Download AD9983AKSTZ-170 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  high performance 8-bit display interface preliminary technical data ad9983a rev. pra information furnished by analog devices is believed to be accurate and reliable. however, no responsibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. specifications subject to change without notice. no license is granted by implication or otherwise under any patent or patent rights of analog devices. trademarks and registered trademarks are the property of their respective owners. one technology way, p.o. box 9106, norwood, ma 02062-9106, u.s.a. tel: 781.329.4700 www.analog.com fax: 781.461.3113 ?2007 analog devices, inc. all rights reserved. features 8-bit analog-to-digital converters 170 msps maximum conversion rate low pll clock jitter at 170 msps automatic gain matching automated offset adjustment 2:1 input mux power-down via dedicated pin or serial register 4:4:4, 4:2:2, and ddr output format modes variable output drive strength odd/even field detection external clock input regenerated hsync output programmable output high impedance control hsyncs per vsync counter sync-on-green pulse filter pb-free package applications advanced tvs plasma display panels lcdtv hdtv rgb graphics processing lcd monitors and projectors scan converters functional block diagram sync processing pll power management sogout o/e field hsout vsout/a0 voltage refs serial register sda scl filt clamp extck/coast hsync0 hsync1 ad9983a y/green out cb/cr/red out refhi reflo datack 2:1 mux pr/red in0 pr/red in1 y/green in0 y/green in1 vsync1 vsync0 2:1 mux sogin0 sogin1 2:1 mux output data formatter cb/blue out clamp 8 8 auto offset auto gain 8-bit adc pga pb/blue in0 pb/blue in1 2:1 mux clamp 8 8 auto offset auto gain 8-bit adc pga 2:1 mux clamp 8 8 auto offset auto gain 8-bit adc pga 2:1 mux 06475-001 figure 1. general description the ad9983a is a complete 8-bit, 170 msps, monolithic analog interface optimized for capturing ypbpr video and rgb graphics signals. its 170 msps encode rate capability and full power analog bandwidth of 300 mhz support all hdtv video modes up to 1080p as well as graphics resolutions up to uxga (1600 x 1200 at 60 hz). the ad9983a includes a 170 mhz triple adc with an internal reference, a pll, and programmable gain, offset, and clamp control. the user provides only a 1.8 v power supply and an analog input. three-state cmos outputs can be powered from 1.8 v to 3.3 v. the ad9983a on-chip pll generates a sample clock from the tri-level sync (for ypbpr video) or the horizontal sync (for rgb graphics). sample clock output frequencies range from 10 mhz to 170 mhz. with internal coast generation, the pll maintains its output frequency in the absence of sync input. a 32-step sampling clock phase adjustment is provided. output data, sync, and clock phase relationships are maintained. the auto-offset feature can be enabled to automatically restore the signal reference levels and to automatically calibrate out any offset differences between the three channels. the auto channel- to-channel gain matching feature can be enabled to minimize any gain mismatches between the three channels. the ad9983a also offers full sync processing for composite sync and sync-on-green applications. a clamp signal is generated internally or may be provided by the user through the clamp input pin. fabricated in an advanced cmos process, the ad9983a is provided in a space-saving 80-lead, pb-free, lqfp surface- mount plastic package or a 64-lead lfcsp package, and is specified over the 0c to 70c temperature range.
ad9983a preliminary technical data rev. pra | page 2 of 44 table of contents features .............................................................................................. 1 applications....................................................................................... 1 functional block diagram .............................................................. 1 general description ......................................................................... 1 specifications..................................................................................... 3 analog interface characteristics ................................................ 3 absolute maximum ratings............................................................ 5 explanation of test levels ........................................................... 5 thermal resistance ...................................................................... 5 esd caution.................................................................................. 5 pin configurations and function descriptions ........................... 6 theory of operation ...................................................................... 11 digital inputs .............................................................................. 11 analog input signal handling.................................................. 11 hsync and vsync inputs............................................................ 11 serial control port ..................................................................... 11 output signal handling............................................................. 11 clamping ..................................................................................... 11 gain and offset control............................................................ 12 sync-on-green............................................................................ 13 reference bypassing................................................................... 13 clock generation ....................................................................... 14 sync processing........................................................................... 16 power management.................................................................... 19 timing diagrams........................................................................ 19 hsync timing ............................................................................. 20 coast timing............................................................................... 21 output formatter ....................................................................... 21 2-wire serial control port ............................................................ 22 data transfer via serial interface............................................. 22 2-wire serial register map ........................................................... 24 2-wire serial control registers.................................................... 30 chip identification ..................................................................... 30 pll divider control .................................................................. 30 clock generator control .......................................................... 30 phase adjust................................................................................ 30 input gain ................................................................................... 31 input offset ................................................................................. 31 hsync controls ........................................................................... 31 vsync controls ........................................................................... 32 coast and clamp controls........................................................ 33 sog control ............................................................................... 34 input and power control........................................................... 35 output control ........................................................................... 36 sync processing .......................................................................... 37 detection status.......................................................................... 37 polarity status ............................................................................. 38 hsync count ............................................................................... 38 test registers............................................................................... 38 pcb layout recommendations.................................................... 40 analog interface inputs ............................................................. 40 outputs (both data and clocks).............................................. 41 digital inputs .............................................................................. 41 outline dimensions ....................................................................... 42 ordering guide .......................................................................... 42
preliminary technical data ad9983a rev. pra | page 3 of 44 specifications analog interface characteristics v d = 1.8 v, v dd = 3.3 v, pv d = 1.8 v, dav dd = 1.8 v, adc clock = maximum conversion rate, full temperature range = 0c to 70c. table 1. ad9983akstz-140 ad9983akcpz-140 AD9983AKSTZ-170 ad9983akcpz-170 parameter temp test level 1 min typ max min typ max unit resolution number of bits 8 8 bits lsb size 0.391 0.391 % of full scale dc accuracy differential nonlinearity 25c i 0.8 0.9 lsb full vi 1.0 lsb integral nonlinearity 25c i 1.0 +2.25/?1.8 +2.5/?2.0 lsb full vi +2.65/?3.0 lsb no missing codes 2 full vi analog input input voltage range minimum full vi 0.5 0.5 v pCp maximum full vi 1.0 1.0 v pCp gain tempco 25c v 125 125 ppm/c input bias current 25c full iv iv 1 1 1 1 a a input full-scale matching full vi 1 1 % fs offset adjustment range full vi 50 50 % fs switching performance maximum conversion rate full vi 140 170 msps minimum conversion rate full iv 10 10 msps clock to data skew t skew full iv ?0.5 2.0 ?0.5 2.0 ns t buff full vi 4.7 4.7 s t stah full vi 4.0 4.0 s t dho full vi 0 0 s t dal full vi 4.7 4.7 s t dah full vi 4.0 4.0 s t dsu full vi 250 250 ns t stasu full vi 4.7 4.7 s t stosu full vi 4.0 4.0 s maximum pll clock rate full vi 140 170 mhz minimum pll clock rate full iv 10 10 mhz jitter 25 c iv 700 3 ps p-p full iv 925 3 ps p-p sampling phase tempco full iv 15 15 ps/c digital inputs input voltage, high (v ih ) full vi 1.0 1.0 v input voltage, low (v il ) full vi 0.8 0.8 v input current, high (i ih ) full v ?1.0 ?1.0 a input current, low (i il ) full v 1.0 1.0 a input capacitance 25 c v 2 2 pf
ad9983a preliminary technical data rev. pra | page 4 of 44 ad9983akstz-140 ad9983akcpz-140 AD9983AKSTZ-170 ad9983akcpz-170 parameter temp test level 1 min typ max min typ max unit digital outputs output voltage, high (v oh ) full vi v dd ? 0.1 v dd ? 0.1 v output voltage, low (v ol ) full vi 0.1 0.1 v duty cycle, datack full iv 45 50 55 45 50 55 % output coding binary binary power supply v d supply voltage full iv 1.7 1.8 1.9 1.755 1.8 1.9 v v dd supply voltage full iv 1.7 3.3 3.47 1.7 3.3 3.47 v pv d supply voltage full iv 1.7 1.8 1.9 1.7 1.8 1.9 v da vdd supply voltage full iv 1.7 1.8 1.9 1.7 1.8 1.9 v v d supply current (i d ) 25 c v 250 255 ma v dd supply current (i dd ) 25 c v 31 34 ma pv d supply current (ipv d ) 25 c v 9 9 ma dav dd supply current (idav dd ) 25 c v 16 19 ma total power dissipation full vi 710 740 mw power-down supply current full vi 10 10 ma power-down dissipation full vi 18 18 mw dynamic performance analog bandwidth, full power 25c v 300 300 mhz crosstalk full v 60 60 dbc 1 see the explanation of test levels section. 2 guaranteed by design, not production tested. 3 jitter measurements taken at uxga with recommended pll settings.
preliminary technical data ad9983a rev. pra | page 5 of 44 absolute maximum ratings table 2. parameter rating v d 1.98 v v dd 3.6 v pv d 1.98 v dav dd 1.98 v analog inputs v d to 0.0 v refhi v d to 0.0 v reflo v d to 0.0 v digital inputs 5 v to 0.0 v digital output current 20 ma operating temperature ?25c to + 85c storage temperature ?65c to + 150c maximum junction temperature 150c maximum case temperature 150c stresses above those listed under absolute maximum ratings may cause permanent damage to the device. this is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. explanation of test levels i. 100% production tested. ii. 100% production tested at 25c and sample tested at specified temperatures. iii. sample tested only. iv. parameter is guaranteed by design and characterization testing. v. parameter is a typical value only. vi. 100% production tested at 25c; guaranteed by design and characterization testing. thermal resistance ja is specified for the worst-case conditions, that is, a device soldered in a circuit board for surface-mount packages. table 3. thermal resistance package type ja jc unit 80-lead lqfp 35 16 c/w 64-lead lfcsp 35 16 c/w esd caution
ad9983a preliminary technical data rev. pra | page 6 of 44 pin configurations a nd function descriptions 06475-002 2 b ain0 3 gnd 4 b ain1 7 gnd 6 g ain0 5 v d (1.8v) 1 v d (1.8v) 8 sogin0 9 v d (1.8v) 10 g ain1 12 sogin1 13 v d (1.8v) 14 r ain0 15 gnd 16 r ain1 17 pwrdn 18 reflo 19 nc 20 refhi 11 gnd 59 58 57 54 55 56 60 53 52 blue 2 blue 3 blue 4 blue 7 blue 6 blue 5 blue 1 gnd v dd (3.3v) 51 nc 49 green 0 48 green 1 47 green 2 46 green 3 45 green 4 44 green 5 43 green 6 42 green 7 41 dav dd (1.8v) 50 nc 21 o/e field 22 vsout/a0 23 hsout 24 sogout 25 datack 26 v dd (3.3v) 27 gnd 28 red 7 29 red 6 30 red 5 31 red 4 32 red 3 33 red 2 34 red 1 35 red 0 36 nc 37 nc 38 v dd (3.3v) 39 gnd 40 gnd 80 gnd 79 pv d (1.8v) 78 filt 77 gnd 76 pv d (1.8v) 75 gnd 74 pv d (1.8v) 73 clamp 72 extck/coas t 71 vsync0 70 hsync0 69 vsync1 68 hsync1 67 scl 66 sda 65 gnd 64 v dd (3.3v) 63 nc 62 nc 61 blue 0 ad9983a top view (not to scale) nc = no connect pin 1 indicator figure 2. 80-lead l qfp pin configuration
preliminary technical data ad9983a rev. pra | page 7 of 44 06475-019 green 7 green 6 green 5 green 4 green 3 green 2 green 1 green 0 nc nc blue 7 blue 6 blue 2 blue 3 blue 4 blue 5 blue 1 blue 0 nc nc v dd sda scl hsync1 vsync1 hsync0 vsync0 extck/coast pv d filt pv d clamp o/e field refhi reflo pwrdn r ain1 r ain0 v d sogin1 g ain1 v d sogin0 g ain0 v d b ain0 b ain1 v d dav dd nc nc red 0 red 1 red 2 red 3 red 4 red 5 red 6 red 7 v dd vsout/a0 hsout sogout datack ad9983a top view (not to scale) nc = no connect 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 32 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 49 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 29 pin 1 indicator figure 3. 64-lead lfcsp pin configuration table 4. complete pinout list pin number pin type 80-lead lfp 64-lead lfcsp mnemonic function value inputs 14 43 r ain0 channel 0 analog input for converter r 0.0 v to 1.0 v 16 44 r ain1 channel 1 analog input for converter r 0.0 v to 1.0 v 6 37 g ain0 channel 0 analog input for converter g 0.0 v to 1.0 v 10 40 g ain1 channel 1 analog input for converter g 0.0 v to 1.0 v 2 34 b ain0 channel 0 analog input for converter b 0.0 v to 1.0 v 4 35 b ain1 channel 1 analog input for converter b 0.0 v to 1.0 v 70 26 hsync0 horizontal sync input for channel 0 3.3 v cmos 68 24 hsync1 horizontal sync input for channel 1 3.3 v cmos 71 27 vsync0 vertical sync input for channel 0 3.3 v cmos 69 25 vsync1 vertical sync input for channel 1 3.3 v cmos 8 38 sogin0 input for sync-on-green channel 0 0.0 v to 1.0 v 12 41 sogin1 input for sync-on-green channel 1 0.0 v to 1.0 v 72 1 28 extck external clock input 3.3 v cmos 73 29 clamp external clamp input signal 3.3 v cmos 72 1 28 coast external pll coast signal input 3.3 v cmos 17 45 pwrdn power-down control 3.3 v cmos
ad9983a preliminary technical data rev. pra | page 8 of 44 pin number pin type 80-lead lqfp 64-lead lfcsp mnemonic function value outputs 28 to 35 54 to 61 red [7:0] outputs of converter r, bit 9 is the msb 3.3 v cmos 42 to 49 1 to 8 green [7:0] outputs of converter g, bit 9 is the msb 3.3 v cmos 54 to 61 11 to 18 blue [7:0] outputs of converter b, bit 9 is the msb 3.3 v cmos 25 52 datack data output clock 3.3 v cmos 23 50 hsout hsync output clock (phase-aligned with datack) 3.3 v cmos 22 2 49 vsout vsync output clock 3.3 v cmos 24 51 sogout sync-on-green slicer output 3.3 v cmos 21 48 o/e field odd/even field output 3.3 v cmos references 78 31 filt connection for external filter components for internal pll 18 46 reflo connection for external capacitor for input amplifier 20 47 refhi connection for external capacitor for input amplifier power supply 1, 5, 9, 13 33, 36, 39, 42 v d analog power supply 1.8 v 26, 38, 52, 64 21, 53 v dd output power supply 1.8 v or 3.3 v 74, 76, 79 30, 32 pv d pll power supply 1.8 v 41 64 dav dd digital logic power supply 1.8 v 3, 7, 11, 15, 39, 40, 53, 65, 75, 77, 80 gnd ground 0 v control 66 22 sda serial port data i/o 3.3 v cmos 67 23 scl serial port data clock (100 khz maximum) 3.3 v cmos 22 2 49 a0 serial port address input 3.3 v cmos 1 extck and coast share the same pin. 2 vsout and a0 share the same pin.
preliminary technical data ad9983a rev. pra | page 9 of 44 table 5. pin function descriptions mnemonic function description r ain0 analog input for the red channel 0 g ain0 analog input for the green channel 0 b ain0 analog input for the blue channel 0 these are high impedance inputs that accept the red, green, and blue channel graphics signals, respectively. the three channels are identical and can be used for any colors, but colors are assigned for convenient reference. they accommodate input signals ranging from 0.5 v to 1.0 v full scale. signals should be ac-coupled to these pins to support clamp operation. see figure 4 and figure 5. r ain1 analog input for the red channel 1 g ain1 analog input for the green channel 1 b ain1 analog input for the blue channel 1 hsync0 horizontal sync input channel 0 hsync1 horizontal sync input channel 1 these inputs receive a logic signal that es tablishes the horizontal timing reference and provides the frequency reference for pixel clock generation. the logic sense of this pin can be automatically determined by the chip or manually controlled by serial register 0x12, bits[5:4] (hsync polarity). only the lead ing edge of hsync is used by the pll; the trailing edge is used in clamp timing. wh en hsync polarity = 0, the falling edge of hsync is used. when hsync polarity = 1, the rising edge is active. the input includes a schmitt trigger for noise immunity. vsync0 vertical sync input channel 0 vsync1 vertical sync input channel 1 these are the inputs for vertical sync and provide timing information for generation of the field (odd/even) and intern al coast generation. the logic sense of this pin can be automatically determined by the chip or manu ally controlled by serial register 0x14, bits[5:4] (vsync polarity). sogin0 sync-on-green input channel 0 sogin1 sync-on-green input channel 1 these inputs process signals with embedded sync, typically on the green channel. the pin is connected to a high speed comparator with an internally generated threshold. the threshold level can be programmed in 8 mv steps to any voltage between 8 mv and 256 mv above the negative peak of the input signal. the default voltage threshold is 128 mv. when connected to an ac-coupled graphics signal with embedded sync, it produces a noninverting digital output on sogout. this is usually a composite sync signal, containing both vertical and horizontal sync information that must be separated before passing the horizontal sync signal for hsync processing. when not used, this input should be left unconnected. for more details on this function and how it should be configured, refer to the sync-on-green section. clamp external clamp input (optional) this logic input can be used to define th e time during which the input signal is clamped to ground or midscale. it should be exercised when the reference dc level is known to be present on the analog input channels, typically during the back porch of the graphics signal. the clamp pin is enable d by setting the control bit clamp function to 1, (register 0x18, bit 4; default is 0). wh en disabled, this pin is ignored and the clamp timing is determined internally by counting a delay and duration from the trailing edge of the hsync input. the logic sense of this pin can be automatically determined by the chip or controlled by clamp polarity register 0x1b, bits[7:6]. when not used, this pin may be left unconnected (there is an internal pull-down resistor) and the clamp function programmed to 0. extck/coast external clock extck allows the insertion of an external clock source rather than the internally generated, pll locked clock. extck is enabled by programming register 0x03, bit 2 to 1. this pin is shared with the coast function, which does not affect extck functionality. coast input to clock generator (optional) coast can be used to cause the pixel clock generator to stop synchronizing with hsync and continue producing a clock at its current frequency and phase. th is is useful when processing signals from sources that fail to produce hsync pulses during the vertical interval. the coast signal is generally not required for pc-generated signals. the logic sense of this pin can be determined automatically or controlled by coast polarity (register 0x18, bits[7:6]). when not used an d extck not used, this pin may be grounded and coast polarity programmed to 1. input co ast polarity defaults to1 at power-up. this pin is shared with the extck function, whic h does not affect coast functionality. for more details on extck, see the description in this section. pwrdn power-down control this pin can be used along with register 0x 1e, bit 3 for manual power-down control. if manual power-down control is selected (reg ister 0x1e, bit 4) and this pin is not used, it is recommended to set the pin polarity (r egister 0x1e, bit 2) to active high and hardwire this pin to ground with a 10 k resistor.
ad9983a preliminary technical data rev. pra | page 10 of 44 mnemonic function description reflo, refhi input amplifier reference reflo and refhi are connected together through a 10 f capacitor. these are used for stability in the input adc circuitry. see figure 6. filt external filter connection for proper operation, the pixel clock generator pll requires an external filter. connect the filter shown in figure 7 to this pin. for optimal performance, minimize noise and parasitics on this node. for more information, see the pcb layout recommendations section. hsout horizontal sync output a reconstructed and phase-aligned version of the hsync input. bo th the polarity and duration of this output can be programmed via serial bus registers. by maintaining alignment with datack and data, data timin g with respect to hsync can always be determined. vsout/a0 vertical sync output pin shared with a0, serial port address. this can be either a separated vsync from a composite signal or a direct pass through of the vsync signal. the polarity of this output can be controlled via a serial bus bit. the placemen t and duration in all modes can be set by the graphics transmitter or the duration can be set by register 0x14, bit 1 and register 0x15, bits[7:0]. this pin is shared with the a0 function, which does not affect vsync output functionality. for more details on a0, see the description in the serial control port section. serial port address input 0 pin shared with vsout. this pin selects the lsb of the serial port device address, allowing two analog devices parts to be on the same serial bus. a high impedance external pull-up resistor enables this pin to be read at power-up as 1, or a high impedance, external pull-down resistor enables this pin to be read at power-up as a 0 and not interfere with the vsout functionality. sogout sync-on-green slicer output this pin outputs one of four possible signals (controlled by register 0x1d, bits[1:0]): raw sog, raw hsync, regenerated hsync from the filter, or the filtered hsync. see figure 9 to view how this pin is connected. other than slicing off sog, the output from this pin gets no additional processing on the ad 9983a. vsync separation is performed via the sync separator. o/e field odd/even field bit for interlaced video this output will identify whether the current field (in an interlaced signal) is odd or even. sda serial port data i/o data i/o for the i 2 c? serial port. scl serial port data clock clock for the i 2 c serial port. red [7:0] data output, red channel green [7:0] data output, green channel blue [7:0] data output, blue channel the main data outputs. bit 9 is the msb. the delay from pixel sampling time to output is fixed. when the sampling time is changed by adjusting the phase register, the output timing is shifted as well. the datack and hs out outputs are also moved, so the timing relationship among the signals is maintained. datack data clock output this is the main clock output signal used to strobe the output data and hsout into external logic. four possible output clocks can be selected with register 0x20, bits[7:6]. three of these are related to the pixel clock (pixel clock, 90 phase-shifted pixel clock and 2 frequency pixel clock). they are pr oduced either by the internal pll clock generator or extck and are synchronous with the pixel sampling clock. the fourth option for the data clock output is an in ternally generated 1?2x pixel clock. the sampling time of the internal pixel cl ock can be changed by adjusting the phase register (register 0x04). when this is change d, the pixel related datack timing is also shifted. the data, datack, and hsout outputs are all moved so that the timing relationship among the signals is maintained. v d (1.8 v) main power supply these pins supply power to the main elements of the circuit. they should be as quiet and filtered as possible. v dd (1.8 v to 3.3 v) digital output power supply a large number of output pins (up to 29) switching at high speed (up to 170 mhz) generates a lot of power supply transients (noise). these supply pins are identified separately from the v d pins, so special care can be taken to minimize output noise transferred into the sensitive analog circuitry. if the ad9983a is interfacing with lower voltage logic, v dd can be connected to a lower supply voltage (as low as 1.8 v) for compatibility. pv d (1.8 v) clock generator power supply the most sensitive portion of the ad9983a is the clock generation circuitry. these pins provide power to the clock pll and help the user design for optimal performance. the designer should provide quiet, noise-free power to these pins. dav dd (1.8 v) digital input power supply this supplies power to the digital logic. gnd ground the ground return for all circuitry on-chip. it is recommended that the ad9983a be assembled on a single solid ground plane, with careful attention to ground current paths.
preliminary technical data ad9983a rev. pra | page 11 of 44 theory of operation the ad9983a is a fully integrated solution for capturing analog rgb or ypbpr signals and digitizing them for display on advanced tvs, flat panel monitors, projectors, and other types of digital displays. implemented in a high performance cmos process, the interface can capture signals with pixel rates of up to 170 mhz. the ad9983a includes all necessary input buffering, signal dc restoration (clamping), offset and gain (brightness and contrast) adjustment, pixel clock generation, sampling phase control, and output data formatting. all controls are programmable via a 2-wire serial interface (i 2 c). full integration of these sensitive analog functions makes system design straightforward and less sensitive to the physical and electrical environment. with a typical power dissipation of less than 900 mw and an operating temperature range of 0c to 70c, the device requires no special environmental considerations. digital inputs all digital inputs on the ad9983a operate to 3.3 v cmos levels. the following digital inputs are 5 v tolerant (that is, applying 5 v to them does not cause any damage.): hsync0, hsync1, vsync0, vsync1, sogin0, sogin1, sda, scl and clamp. analog input signal handling the ad9983a has six high impedance analog input pins for the red, green, and blue channels. they accommodate signals ranging from 0.5 v to 1.0 v p-p. signals are typically brought onto the interface board with a dvi-i connector, a 15-pin d connector, or rca connectors. the ad9983a should be located as close as possible to the input connector. signals should be routed using matched- impedance traces (normally 75 ) to the ic input pins. at the input pins the signal should be resistively terminated (75 to the signal ground return) and capacitively coupled to the ad9983a inputs through 47 nf capacitors. these capacitors form part of the dc restoration circuit. in an ideal world of perfectly matched impedances, the best performance can be obtained with the widest possible signal bandwidth. the wide bandwidth inputs of the ad9983a (300 mhz) can track the input signal continuously as it moves from one pixel level to the next and can digitize the pixel during a long, flat pixel time. in many systems, however, there are mismatches, reflections, and noise, which can result in excessive ringing and distortion of the input waveform. this makes it more difficult to establish a sampling phase that provides good image quality. a small inductor in series with the input is effective in rolling off the input bandwidth slightly and providing a high quality signal over a wider range of conditions. using a fair-rite #2508051217z0-high speed, signal chip bead inductor in the circuit shown in figure 4 provides good results in most applications. rgb input r ain g ain b ain 47n f 75? 06475-003 figure 4. analog input interface circuit hsync and vsync inputs the interface also accepts hsync and vsync signals, which are used to generate the pixel clock, clamp timing, coast and field information. these can be either a sync signal directly from the graphics source, or a preprocessed ttl- or cmos-level signal. the hsync input includes a schmitt trigger buffer for immunity to noise and signals with long rise times. in typical pc-based graphic systems, the sync signals are simply ttl-level drivers feeding unshielded wires in the monitor cable. as such, no termination is required. serial control port the serial control port is designed for 3.3 v logic; however, it is tolerant of 5 v logic signals. refer to the 2-wire serial control port section. output signal handling the digital outputs operate from 1.8 v to 3.3 v (v dd ). clamping rgb clamping to properly digitize the incoming signal, the dc offset of the input must be adjusted to fit the range of the on-board adcs. most graphics systems produce rgb signals with black at ground and white at approximately 0.75 v. however, if sync signals are embedded in the graphics, the sync tip is often at ground, black is at 300 mv, and white is at approximately 1.0 v. some common rgb line amplifier boxes use emitter-follower buffers to split signals and increase drive capability. this introduces a 700 mv dc offset to the signal, which must be removed for proper capture by the ad9983a. the key to clamping is to identify a portion (time) of the signal when the graphic system is known to be producing black. an offset is then introduced that results in the adc producing a black output (code 0x00) when the known black input is present. the offset then remains in place when other signal levels are processed, and the entire signal is shifted to eliminate offset errors.
ad9983a preliminary technical data rev. pra | page 12 of 44 in most pc graphics systems, black is transmitted between active video lines. with crt displays, when the electron beam has completed writing a horizontal line on the screen (at the right side), the beam is deflected quickly to the left side of the screen (called horizontal retrace) and a black signal is provided to prevent the beam from disturbing the image. in systems with embedded sync, a blacker-than-black signal (hsync) is produced briefly to signal the crt that it is time to begin a retrace. because the input is not at black level at this time, it is important to avoid clamping during hsync. fortu- nately, there is usually a period following hsync, called the back porch, where a good black reference is provided. this is the time when clamping should be done. the clamp timing can be established by simply exercising the clamp pin at the appropriate time with clamp source (register 0x18, bit 4) = 1. the polarity of this signal is set by the clamp polarity bit, (register 0x1b, bits[7:6]). a simpler method of clamp timing employs the ad9983a internal clamp timing generator. the clamp placement register (register 0x19) is programmed with the number of pixel periods that should pass after the trailing edge of hsync before clamping starts. a second register, clamp duration, (register 0x1a) sets the duration of the clamp. these are both 8-bit values, providing considerable flexibility in clamp generation. the clamp timing is referenced to the trailing edge of hsync because, though hsync duration can vary widely, the back porch (black reference) always follows hsync. a good starting point for establishing clamping is to set the clamp placement to 0x04 (providing 4 pixel periods for the graphics signal to stabilize after sync) and set the clamp duration to 0x28 (giving the clamp 40 pixel periods to reestablish the black reference). clamping is accomplished by placing an appropriate charge on the external input coupling capacitor. the value of this capacitor affects the performance of the clamp. if it is too small, there will be a significant amplitude change during a horizontal line time (between clamping intervals). if the capacitor is too large, it will take too long for the clamp to recover from a large change in incoming signal offset. the recommended value (47 nf) results in recovering from a step error of 100 mv to within 1 lsb in 30 lines with a clamp duration of 20 pixel periods on a 85 hz xga signal. ypbpr clamping ypbpr graphic signals are slightly different from rgb signals in that the dc reference level (black level in rgb signals) of color difference signals is at the midpoint of the video signal rather than at the bottom. the three inputs are composed of luminance (y) and color difference (pb and pr) signals. for color difference signals, it is necessary to clamp to the midscale range of the adc range (512) rather than to the bottom of the adc range (0), while the y channel is clamped to ground. clamping to midscale rather than ground can be accomplished by setting the clamp select bits in the serial bus register. each of the three converters has its own selection bit so that they can be clamped to either midscale or ground independently. these bits are located in register 0x18, bits[3:1]. the midscale reference voltage is internally generated for each converter. gain and offset control the ad9983a contains three pgas, one for each of the three analog inputs. the range of the pga is sufficient to accom- modate input signals with inputs ranging from 0.5 v to 1.0 v full scale. the gain is set in three 7-bit registers (red gain [0x05], green gain [0x07], blue gain [0x09]). for each register, a gain setting of 0 corresponds to the highest gain, while a gain setting of 127 corresponds to the lowest gain. note that increasing the gain setting results in an image with less contrast. the offset control shifts the analog input, resulting in a change in brightness. three 9-bit registers red offset [register 0x0b and register 0x0c], green offset [register 0x0d and register 0x0e], and blue offset [register 0x0f and register 0x10] provide independent settings for each channel. note that the function of the offset register depends on whether auto-offset is enabled (register 0x1b, bit 5). if manual offset is used, seven bits of the offset registers (for the red channel register 0x0b, bits[6:0]) control the absolute offset added to the channel. the offset control provides 63 lsbs of adjustment range, with 1 lsb of offset corresponding to 1 lsb of output code. automatic offset in addition to the manual offset adjustment mode, the ad9983a also includes circuitry to automatically calibrate the offset for each channel. by monitoring the output of each adc during the back porch of the input signals, the ad9983a can self-adjust to eliminate any offset errors in its own adc channels and any offset errors present on the incoming graphics or video signals. to activate the auto-offset mode, set register 0x1b, bit 5 to 1. next, the target code registers (register 0x0b through register 0x10) must be programmed. the values programmed into the target code registers should be the output code desired from the ad9983a adcs, which are generated during the back porch reference time. for example, for rgb signals, all three registers are normally programmed to code 2, while for ypbpr signals the green (y) channel is normally programmed to code 2 and the blue and red channels (pb and pr) are normally set to 128. the target code registers have nine bits per channel and are in twos complement format. this allows any value between C256 and +255 to be programmed. although any value in this range can be programmed, the ad9983a offset range may not be able to reach every value. intended target code values range from (but are not limited to) C40 to C1 and 1 to 40 when ground clamping and 88 to 168 when midscale clamping. note that a target code of 0 is not valid.
preliminary technical data ad9983a rev. pra | page 13 of 44 negative target codes are included in order to duplicate a fea- ture that is present with manual offset adjustment. the benefit that is being mimicked is the ability to easily adjust brightness on a display. by setting the target code to a value that does not correspond to the ideal adc range, the end result is an image that is either brighter or darker. a target code higher than ideal results in a brighter image. a target code lower than ideal results in a darker image. the ability to program a target code gives a large degree of freedom and flexibility. in most cases all channels are set to either 1 or 128, but the flexibility to select other values allows for the possibility of inserting intentional skews between channels. it also allows the adc range to be skewed so that voltages outside of the normal range can be digitized. for example, setting the target code to 40 allows the sync tip, which is normally below black level, to be digitized and evaluated. the internal logic for the auto-offset circuit requires 16 data clock cycles to perform its function. this operation is executed immediately after the clamping pulse. therefore, it is important to end the clamping pulse signal at least 16 data clock cycles before active video. this is true whether using the ad9983a internal clamp circuit or an external clamp signal. the auto- offset function can be programmed to run continuously or on a one-time basis (see auto-offset hold, register 0x2c, bit 4). in continuous mode, the update frequency can be programmed (register 0x1b, bits[4:3]). continuous operation with updates every 64 hsyncs is recommended. a guideline for basic auto-offset operation is shown in tabl e 6 and table 7 . table 6. rgb auto-offset register settings register value comments 0x0b 0x02 sets red target to 4 0x0c 0x00 must be written 0x0d 0x02 sets green target to 4 0x0e 0x00 must be written 0x0f 0x02 sets blue target to 4 0x10 0x00 must be written 0x18, bits[3:1] 000 sets red, green, and blue channels to ground clamp 0x1b, bits[5:3] 110 selects update rate and enables auto-offset. table 7. pbpr auto-offset register settings register value comments 0x0b 0x40 sets pr (red) target to 128 0x0c 0x00 must be written 0x0d 0x02 sets y (green) target to 4 0x0e 0x00 must be written 0x0f 0x40 sets pb (blue) target to 128 0x10 0x00 must be written 0x18 bits[3:1] 101 sets pb, pr to midscale clamp and y to ground clamp 0x1b, bits[5:3] 110 selects update rate and enables auto-offset automatic gain matching the ad9983a includes circuitry to match the gains between the three channels to within 1% of each other. matching the gains of each channel is necessary in order to achieve good color balance on a display. on products without this feature, gain matching is achieved by writing software that evaluates the output of each channel, calculates gain mismatches, then writes values to the gain registers of each channel to compensate. with the auto gain matching function, this software routine is no longer needed. to activate auto gain matching, set register 0x3c, bit 2 to bit 1. auto gain matching has similar timing requirements to auto offset. it requires 16 data clock cycles to perform its function, starting immediately after the end of the clamp pulse. unlike auto offset it does not require that these 16 clock cycles occur during the back porch reference time, although that is what is recommended. during auto gain matching operation, the data outputs of the ad9983a are frozen (held at the value they had just prior to operation). the auto gain matching function can be programmed to run continuously or on a one-time basis (see auto gain matching hold section, register 0x2c, bit 3). in continuous mode, the update frequency can be programmed (register 0x1b, bit 4 and bit 3). continuous operation with updates every 64 hsyncs is recommended. sync-on-green the sync-on-green inputs (sogin0, sogin1) operate in two steps. first, they set a baseline clamp level off of the incoming video signal with a negative peak detector. second, they set the sync trigger level to a programma ble (register 0x1d, bits[7:3]) level (typically 128 mv) above the negative peak. the sync-on- green inputs must be ac-coupled to the green analog input through their own capacitors. the value of the capacitors must be 1 nf 20%. if sync-on-green is not used, this connection is not required. the sync-on-green signal always has negative polarity. r ain b ain g ain sogin 47n f 47nf 47nf 1nf 06475-004 figure 5. typical in put configuration reference bypassing reflo and refhi are connected to each other by a 10 f capacitor. these references are used by the input adc circuitry. refhi reflo 10f 06475-014 figure 6. input amplifier reference capacitors
ad9983a preliminary technical data rev. pra | page 14 of 44 clock generation a pll is used to generate the pixel clock. the hsync input pro- vides a reference frequency to the pll. a voltage controlled oscillator (vco) generates a much higher pixel clock frequency. the pixel clock is divided by th e pll divide value (register 0x01 and register 0x02) and phase-compared with the hsync input. any error is used to shift the vco frequency and maintain lock between the two signals. the stability of this clock is a very important element in providing the clearest and most stable image. during each pixel time, there is a period during which the signal slews from the old pixel amplitude and settles at its new value. then there is a time when the input voltage is stable, before the signal must slew to a new value (see figure 7 ). the ratio of the slewing time to the stable time is a function of the bandwidth of the graphics dac and the bandwidth of the transmission system (cable and termination). it is also a function of the overall pixel rate. clearly, if the dynamic characteristics of the system remain fixed, then the slewing and settling time is likewise fixed. this time must be subtracted from the total pixel period, leaving the stable period. at higher pixel frequencies, the total cycle time is shorter and the stable pixel time also becomes shorter. pixel clock in v alid sample times 0 6475-005 figure 7. pixel sampling times any jitter in the clock reduces the precision with which the sampling time can be determined and must also be subtracted from the stable pixel time. considerable care has been taken in the design of the ad9983a clock generation circuit to minimize jitter. the clock jitter of the ad9983a is low in all operating modes, making the reduction in the valid sampling time due to jitter negligible. the pll characteristics are determined by the loop filter design, the pll charge pump current, and the vco range setting. the loop filter design is shown in figure 8 . recommended settings of the vco range and charge pump current for vesa standard display modes are listed in table 10 . 06475-006 c p 8 .2n f c z 82nf r z 1.5k ? filt pv d figure 8. pll loop filter detail four programmable registers are provided to optimize the performance of the pll. these registers are the 12-bit divisor register, the 2-bit vco range register, the 3-bit charge pump current register, and the 5-bit phase adjust register. the 12-bit divisor register . the input hsync frequencies can accommodate any hsync as long as the product of the hsync and the pll divisor falls within the operating range of the vco. the pll multiplies the frequency of the hsync signal, producing pixel clock frequencies in the range of 10 mhz to 170 mhz. the divisor register controls the exact multiplication factor. this register may be set to any value between 2 and 4095 as long as the output frequency is within range. the 2-bit vco range register to improve the noise performance of the ad9983a, the vco operating frequency range is divided into four overlapping regions. the vco range register sets this operating range. the frequency ranges for the four regions are shown in table 8 . table 8. vco frequency ranges pv1 pv0 pixel clock range (mhz) kvco gain (mhz/v) 0 0 10 to 21 150 0 1 21 to 42 150 1 0 42 to 84 150 1 1 84 to 170 150 the 3-bit charge pump current register . this register varies the current that drives the low pass loop filter. the possible current values are listed in table 9 . table 9. charge pump current/control bits ip2 ip1 ip0 current (a) 0 0 0 50 0 0 1 100 0 1 0 150 0 1 1 250 1 0 0 350 1 0 1 500 1 1 0 750 1 1 1 1500 the 5-bit phase adjust register the phase of the generated sampling clock can be shifted to locate an optimum sampling point within a clock cycle. the phase adjust register provides 32 phase-shift steps of 11.25 each. the hsync signal with an identical phase shift is available through the hsout pin. phase adjust is still available if an external pixel clock is used. the coast pin or the internal coast is used to allow the pll to continue to run at the same frequency in the absence of the incoming hsync signal or during disturbances in hsync (such as from equalization pulses). this can be used during the vertical sync period or at any other time that the hsync signal is unavailable.
preliminary technical data ad9983a rev. pra | page 15 of 44 the polarity of the coast signal may be set through the coast polarity register (register 0x18, bits[6:5]). also, the polarity of the hsync signal can be set through the hsync polarity register (register 0x12, bits[5:4]). for both hsync and coast, a value of 1 is active high. the internal coast function is driven off the vsync signal, which is typically a time when hsync signals may be disrupted with extra equalization pulses. table 10. recommended vco range and charge pump and current settings for standard display formats standard resolution refresh rate (hz) horizontal frequency (khz) pixel rate (mhz) pll divider vco range current vco gear (r0x36[0]) vga 640 480 60 31.500 25.175 800 00 101 0 72 37.700 31.500 832 01 100 0 75 37.500 31.500 840 01 100 0 85 43.300 36.000 832 01 100 0 svga 800 600 56 35.100 36.000 1024 01 100 0 60 37.900 40.000 1056 01 101 0 72 48.100 50.000 1040 01 101 0 75 46.900 49.500 1056 01 101 0 85 53.700 56.250 1048 01 110 0 xga 1024 768 60 48.400 65.000 1344 10 100 0 70 56.500 75.000 1328 10 101 0 75 60.000 78.750 1312 10 101 0 80 64.000 85.500 1336 10 101 0 85 68.300 94.500 1376 10 110 0 sxga 1280 1024 60 64.000 108.000 1688 10 110 0 75 80.000 135.000 1688 11 110 0 85 91.100 157.500 1728 11 110 0 uxga 1600 1200 60 75.000 162.000 2160 11 110 0 tv 480i 30 15.750 13.510 858 00 101 1 480p 60 31.470 27.000 858 00 101 0 576i 30 15.625 13.500 864 00 101 1 576p 60 31.250 27.000 864 00 101 0 720p 60 45.000 74.250 1650 10 101 0 1035i 30 33.750 74.250 2200 10 101 0 1080i 60 33.750 74.250 2200 10 101 0 1080p 60 67.500 148.500 2200 11 101 0
ad9983a preliminary technical data rev. pra | page 16 of 44 ad9983a sogout hsync coast datack sogin0 extck/coast vsync1 mux mux mux mux mux mux vsync0 hsync1 hsync0 hsout vsout/a0 sogin1 hsync select filtered hsync activity detect activity detect activity detect activity detect activity detect activity detect polarity detect polarity detect polarity detect polarity detect sync slicer sync slicer pll clock generator o/e field channel select hsync filter and regenerator regenerated hsync set polarity sync processor and vsync filter hsync/vsync counter reg 0x26, 0x27 0 6475-013 set polarity set polarity set polarity figure 9. sync processing block diagram sync processing the inputs of the sync processing section of the ad9983a are combinations of digital hsyncs and vsyncs, analog sync-on- green, or sync-on-y signals, and an optional external coast signal. from these signals it generates a precise, jitter-free clock from its pll; an odd/even field signal; hsout and vsout signals; a count of hsyncs per vsync; and a programmable sogout. the main sync processing blocks are the sync slicer, sync separator, hsync filter, hsync regenerator, vsync filter, and coast generator. ? the sync slicer extracts the sync signal from the green graphics or luminance video signal that is connected to the soginx input and outputs a digital composite sync. ? the sync separators task is to extract vsync from the composite sync signal, which can come from either the sync slicer or the hsyncx inputs. ? the hsync filter is used to eliminate any extraneous pulses from the hsyncx or soginx inputs, outputting a clean, low jitter signal that is appropriate for mode detection and clock generation. ? the hsync regenerator is used to recreate a clean, although not low jitter, hsync signal that can be used for mode detection and counting hsyncs per vsync. ? the vsync filter is used to eliminate spurious vsyncs, maintain a stable timing relationship between the vsync and hsync output signals, and generate the odd/even field output. ? the coast generator creates a robust coast signal that allows the pll to maintain its frequency in the absence of hsync pulses. sync slicer the purpose of the sync slicer is to extract the sync signal from the green graphics or luminance video signal that is connected to the sog input. the sync signal is extracted in a two step process. first, the sog input is clamped to its negative peak, (typically 0.3 v below the black level). next, the signal goes to a comparator with a variable trigger level (set by register 0x1d, bits[7:3]), but nominally 0.128 v above the clamped level. the sync slicer output is a digital composite sync signal containing both hsync and vsync information (see figure 10 ).
preliminary technical data ad9983a rev. pra | page 17 of 44 06475-015 sog input s ogout output connected to hsyncin negative pulse width = 40 sample clocks composite sync at hsyncin vsyncout from sync separator ?300mv +300mv 700mv maximum 0mv figure 10. sync slicer and sync separator output sync separator as part of sync processing, the sync separators task is to extract vsync from the composite sync signal. it works on the idea that the vsync signal stays active for a much longer time than the hsync signal. by using a digital low-pass filter and a digital comparator, it rejects pulses with small durations (such as hsyncs and equalization pulses) and only passes pulses with large durations, such as vsync (see figure 10 ). the threshold of the digital comparator is programmable for maximum flexibility. to program the threshold duration, write a value (n) to register 0x11. the resulting pulse width is n 200 ns. so, if n = 5, the digital comparator threshold is 1 s. any pulse less than 1 s is rejected, while any pulse greater than 1 s passes through. there are two factors to consider when using the sync separator. first, the resulting clean vsync output is delayed from the original vsync by a duration equal to the digital comparator threshold (n 200 ns). second, there is some variability to the 200 ns multiplier value. the maximum variability over all operating conditions is 20% (160 ns to 240 ns). since normal vsync and hsync pulse widths differ by a factor of approximately 500 or more, the 20% variability is not an issue. hsync filter and regenerator the hsync filter is used to eliminate any extraneous pulses from the hsync or sogin inputs, outputting a clean, low jitter signal that is appropriate for mode detection and clock generation. the hsync regenerator is used to recreate a clean, although not low jitter, hsync signal that can be used for mode detection and counting hsyncs per vsync. the hsync regenerator has a high degree of tolerance to extraneous and missing pulses on the hsync input, but is not appropriate for use by the pll in creating the pixel clock due to jitter. the hsync regenerator runs automatically and requires no setup to operate. the hsync filter requires the setting up of a filter window. the filter window sets a periodic window of time around the regenerated hsync leading edge where valid hsyncs are allowed to occur. the general idea is that extraneous pulses on the sync input occur outside of this filter window and thus are filtered out. to set the filter window timing, program a value ( x ) into register 0x23. the resulting filter window time is x times 25 ns around the regenerated hsync leading edge. just as for the sync separator threshold multiplier, allow a 20% variance in the 25 ns multiplier to account for all operating conditions (20 ns to 30 ns range). a second output from the hsync filter is a status bit (register 0x25, bit 1) that tells whether extraneous pulses were present on the incoming sync signal or not. often, extraneous pulses are included for copy protection purposes, so this status bit can be used to detect that. the filtered hsync (rather than the raw hsyncx/soginx signal) for pixel clock generation by the pll is controlled by register 0x20, bit 2. the regenerated hsync (rather than the raw hsync/sogin signal) for the sync processing is controlled by register 0x20, bit 1. use of the filtered hsync and regenerated hsync is recommended. see figure 11 for an illustration of a filtered hsync.
ad9983a preliminary technical data rev. pra | page 18 of 44 hsyncout vsync filter window expected edge filter window equalization pulses hsyncin 06475-016 figure 11. sync processing filter vsync filter and odd/even fields the vsync filter is used to eliminate spurious vsyncs, maintain a stable timing relationship between the vsync and hsync output signals, and generate the odd/even field output. the filter works by examining the placement of vsync with respect to hsync and if necessary shifting it in time slightly. the goal is to keep the vsync and hsync leading edges from switching at the same time, thus eliminating confusion as to when the first line of a frame occurs. register 0x14, bit 2 enables the vsync filter. use of the vsync filter is recommended for all cases, including interlaced video, and is required when using the hsyncs per vsync counter. figure 12 and figure 13 illustrate even/odd field determination in two situations. field 1 field 0 sync separator threshold field 1 field 0 23 2 1 44 31 hsyncin vsyncin vsyncout o/e field odd field quadrant 06475-017 figure 12. vsync filterodd field field 1 field 0 sync separator threshold field 1 field 0 23 2 1 44 31 hsyncin vsyncin vsyncout o/e field even field quadrant 06475-018 figure 13. vsync filtereven field
preliminary technical data ad9983a rev. pra | page 19 of 44 power management to meet display requirements for low standby power, the ad9983a includes a power-down mode. the power-down state can be controlled manually (via pin 17 or register 0x1e, bit 3), or automatically by the chip. if automatic control is selected (register 0x1e, bit 4), the ad9983a decision is based on the status of the sync detect bits (register 0x24, bit 2, bit 3, bit 6, and bit 7). if either an hsync or a sync-on-green input is detected on any input, the chip powers up, otherwise it powers down. for manual control, the ad9983a allows flexibility of control through both a dedicated pin and a register bit. the dedicated pin allows a hardware watchdog circuit to control power-down, while the register bit allows power-down to be controlled by software. with manual power-down control, the polarity of the power-down pin must be set (register 0x1e, bit 2) whether the pin is used or not. if unused, it is recommended to set the polarity to active high and hardwire the pin to ground with a 10 k resistor. in power-down mode, there are several circuits that continue to operate as normal. the serial register and sync detect circuits maintain power so that the ad9983a can be woken up from its power-down state. the bandgap circuit maintains power because it is needed for sync detection. the sync-on-green and sogout functions continue to operate because the sogout output is needed when sync detection is performed by a secondary chip. all of these circuits require minimal power to operate. typical standby power on the ad9983a is about 50 mw. there are two options that can be selected when in power- down. these are controlled by bit 0 and bit 1 in register 0x1e. bit 0 controls whether the sogout pin is in high impedance or not. in most cases, the user will not place sogout in high impedance during normal operation. the option to put sogout in high impedance is included mainly to allow for factory testing modes. bit 1 keeps the ad9983a powered up while placing only the outputs in high impedance. this option is useful when the data outputs from two chips are connected on a pcb and the user wants to switch instantaneously between the two. table 11. power-down control and mode descriptions inputs mode auto power-down control 1 power-down 2 sync detect 3 powered on/comments power-up 1 x 1 everything power-down 1 x 0 only the serial bus, sync activity detect, sog, bandgap reference power-up 0 0 x everything power-down 0 1 x only the serial bus, sync activity detect, sog, bandgap reference 1 auto power-down control is set by register 0x1e, bit 4. 2 power-down is controlled by oring pin 17 with register 0x1e, bit 3. the polarity of pin 17 is set by register 0x1e, bit 2. 3 sync detect is determined by oring regi ster 0x24, bit 2, bit 3, bit 6, and bit 7. timing diagrams the timing diagrams in figure 14 to figure 17 show the operation of the ad9983a. the output data clock signal is created so that its rising edge always occurs between data transitions and can be used to latch the output data externally. there is a pipeline in the ad9983a, which must be flushed before valid data becomes available. this means six data sets are presented before valid data is available. t per t dcycle t skew datack data hsout 06475-007 figure 14. output timing
ad9983a preliminary technical data rev. pra | page 20 of 44 datain p0 p1 p2 p5 p3 p4 p9 p6 p8 p10 p11 p7 hsyncx datack 8 clock cycle delay dataout p0 p1 p2 p3 2 clock cycle delay hsout 06475-008 figure 15. 4:4:4 timing mode datain p0 p1 p2 p5 p3 p4 p9 p6 p8 p10 p11 p7 hsyncx datack 8 clock cycle delay cb/crout cb0 cr0 cb2 cr2 yout y0 y1 y2 y3 2 clock cycle delay notes 1. pixel after hsout corresonds to blue input. 2. even number of pixel delay between hsout and dataout. hsout 06475-009 figure 16. 4:2:2 timing mode datain p0 p1 p2 p5 p3 p4 p9 p6 p8 p10 p11 p7 hsyncx datack 8 clock cycle delay 2 clock cycle delay ddr notes 1. output datack may be delayed 1/4 clock period in the registers. 2. see project document for values of f (falling edge) and r (rising edge). 3. for ddr 4:2:2 mode: timing is identical, values of f and r change. general notes 1. data delay may vary one clock cycle, depending on phase setting. 2. adcs sample input on falling edge of datack. 3. hsync shown is active high (edge shown is leading edge). hsout 06475-010 f0 r0 f1 r1 f2 r2 f3 r3 figure 17. double data rate (ddr) timing mode hsync timing the hsync is processed in the ad9983a to eliminate ambiguity in the timing of the leading edge with respect to the phase- delayed pixel clock and data. the hsync input is used as a reference to generate the pixel sampling clock. the sampling phase can be adjusted with respect to hsync through a full 360 in 32 steps via the phase adjust register (to optimize the pixel sampling time). display systems use hsync to align memory and display write cycles, so it is important to have a stable timing relationship between hsync output (hsout) and the data clock (datack). three things happen to hsync in the ad9983a. first, the polarity of hsync input is determined and thus has a known output polarity. the known output polarity can be programmed either active high or active low (register 0x12, bit 3). second, hsout is aligned with datack and data outputs. third, the duration of hsout (in pixel clocks) is set via register 0x13. hsout is the sync signal that should be used to drive the rest of the display system.
preliminary technical data ad9983a rev. pra | page 21 of 44 coast timing in most computer systems, the hsync signal is provided continuously on a dedicated wire. in these systems, the coast input and function are unnecessary and should not be used. in some systems, however, hsync is disturbed during the vertical sync period (vsync). in some cases, hsync pulses disappear. in other systems, such as those that employ composite sync (csync) signals or embedded sync-on-green, hsync may include equalization pulses or other distortions during vsync. to avoid upsetting the clock generator during vsync, it is important to ignore these distortions. if the pixel clock pll sees extraneous pulses, it attempts to lock to this new frequency, and will have changed frequency by the end of the vsync period. it then takes a few lines of correct hsync timing to recover at the beginning of a new frame, resulting in a tearing of the image at the top of the display. the coast input is provided to eliminate this problem. it is an asynchronous input that disables the pll input and holds the clock at its current frequency. the pll can free run for several lines without significant frequency drift. coast can be generated internally by the ad9983a (see register 0x18) or can be provided externally by the graphics controller. when internal coast is selected (register 0x18, bit 7 = 0, and register 0x14, bits[7:6] to select source), vsync is used as a basis for determining the position of coast. the internal coast signal is enabled a programmed number of hsync periods before the periodic vsync signal (precoast register 0x16) and dropped a programmed number of hsync periods after vsync (postcoast register 0x17). it is recommended that the vsync filter be enabled when using the internal coast function to allow the ad9983a to determine precisely the number of hsyncs/vsync and their location. in many applications where disruptions occur and coast is used, values of 2 for precoast and 10d for postcoast are sufficient to avoid most extraneous pulses. output formatter the output formatter is capable of generating several output formats to be presented to the 24 data output pins. the output formats and the pin assignments for each format are listed in table 12 . also, there are several clock options for the output clock. the user may select the pixel clock, a 90 phase-shifted pixel clock, a 2 pixel clock, or a fixed frequency 40 mhz clock for test purposes. the output clock may also be inverted. data output is available as 24-pin rgb or ycbcr, or if either 4:2:2 or 4:4:4 ddr is selected, a secondary channel is available. this secondary channel is always 4:2:2 ddr and allows the flexibility of having a second channel with the same video data that can be utilized by either another display or even a storage device. depending on the choice of output modes, the primary output can be 24 pins, 16 pins, or as little as 12 pins. mode descriptions 4:4:4 all channels come out with their 8 data bits at the same time. data is aligned to the negative edge of the clock for easy capture. this is the normal 24-bit output mode for rgb or 4:4:4 ycbcr. 4:2:2 red and green channels contain 4:2:2 formatted data (16 pins) with y data on the green channel and cb, cr data on the red channel. data is aligned to the negative edge of the clock. the blue channel contains the secondary channel with cb, y, cr, y formatted 4:2:2 ddr data. the data edges are aligned to both edges of the pixel clock, so use of the 90 clock may be necessary to capture the ddr data. 4:4:4 ddr this mode puts out full 4:4:4 data on 12 bits of the red and green channels, thus saving 12 pins. the first half (rgb[11:0]) of the 24-bit data is sent on the rising edge and the second half (rgb[23:12]) is sent on the falling edge. ddr 4:2:2 data is sent on the blue channel, as in 4:2:2 mode. rgb [23:0] = r [7:0] + g [7:0] + b [7:0], so rgb [23:12] = r [7:0] + g [7:4] and rgb [11:0] = g [3:0] + b [7:0] table 12. output formats port red green blue bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 4:4:4 red/cr green/y blue/cb 4:2:2 1 cb, cr y ddr 4:2:2 cb, cr y, y 4:4:4 ddr ddr 2 g [3:0] ddr b [7:4] ddr b [3:0] n/a ddr 4:2:2 cb, cr ddr 2 r [7:0] ddr g [7:4] n/a ddr 4:2:2 y, y 1 for 4:2:2 cb sent before cr. 2 arrows in table indicate clock edge. rising edge of clock = , falling edge = .
ad9983a preliminary technical data rev. pra | page 22 of 44 2-wire serial control port a 2-wire serial interface control interface is provided. up to two ad9983a devices may be connected to the 2-wire serial interface, with each device having a unique address. the 2-wire serial interface comprises a clock (scl) and a bi- directional data (sda) pin. the analog flat panel interface acts as a slave for receiving and transmitting data over the serial interface. when the serial interface is not active, the logic levels on scl and sda are pulled high by external pull-up resistors. data received or transmitted on the sda line must be stable for the duration of the positive-going scl pulse. data on sda must change only when scl is low. if sda changes state while scl is high, the serial interface interprets that action as a start or stop sequence. the following are the five components to serial bus operation: ? start signal ? slave address byte ? base register address byte ? data byte to read or write ? stop signal when the serial interface is inactive (scl and sda are high), communications are initiated by sending a start signal. the start signal is a high-to-low transiti on on sda while scl is high. this signal alerts all slaved devices that a data transfer sequence is coming. the first 8 bits of data transferred after a start signal comprise a 7-bit slave address (the first 7 bits) and a single r/ w bit (the eighth bit). the r/ w bit indicates the direction of data transfer, read from 1 or write to 0 on the slave device. if the transmitted slave address matches the address of the device, the ad9983a acknowledges the match by bringing sda low on the ninth scl pulse. if the addresses do not match, the ad9983a does not acknowledge it. table 13. serial port addresses bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 a6 (msb) a5 a4 a3 a2 a1 a0 1 0 0 1 1 0 0 1 0 0 1 1 0 1 data transfer via serial interface for each byte of data read or written, the msb is the first bit in the sequence. if the ad9983a does not acknowledge the master device during a write sequence, the sda remains high so the master can gen- erate a stop signal. if the master device does not acknowledge the ad9983a during a read sequence, the ad9983a interprets this as end of data. the sda remains high so the master can generate a stop signal. writing data to specific control registers of the ad9983a requires writing to the 8-bit address of the control register of interest after the slave address has been established. this control register address is the base address for subsequent write operations. the base address auto-increments by one for each byte of data written after the data byte intended for the base address. if more bytes are transferred than there are available addresses, the address does not increment and remains at its maximum value of 0x2e. any base address higher than 0x2e will not produce an acknowledge signal. data are read from the control registers of the ad9983a in a similar manner. reading requires two data transfer operations: the base address must be written with the r/ w bit of the slave address byte low to set up a sequential read operation. reading (the r/ w bit of the slave address byte high) begins at the previously established base address. the address of the read register auto-increments after each byte is transferred. to terminate a read/write sequence to the ad9983a, a stop signal must be sent. a stop signal comprises a low-to-high transition of sda while scl is high. a repeated start signal occurs when the master device driving the serial interface generates a start signal without first genera- ting a stop signal to terminate the current communication. this is used to change the mode of communication (read, write) between the slave and master without releasing the serial interface lines. s da s c l t buff t stah t dho t dsu t dal t dah t stasu t stosu 06475-011 figure 18. serial port read/write timing
preliminary technical data ad9983a rev. pra | page 23 of 44 serial interface read/write examples write to one control register 1. start signal 2. slave address byte (r/ w bit = low) 3. base address byte 4. data byte to base address 5. stop signal write to four consecutive control registers 1. start signal 2. slave address byte (r/ w bit = low) 3. base address byte 4. data byte to base address 5. data byte to (base address + 1) 6. data byte to (base address + 2) 7. data byte to (base address + 3) 8. stop signal read from one control register 1. start signal 2. slave address byte (r/ w bit = low) 3. base address byte 4. start signal 5. slave address byte (r/ w bit = high) 6. data byte from base address 7. stop signal read from four consecutive control registers 1. start signal 2. slave address byte (r/ w bit = low) 3. base address byte 4. start signal 5. slave address byte (r/ w bit = high) 6. data byte from base address 7. data byte from (base address + 1) 8. data byte from (base address + 2) 9. data byte from (base address + 3) 10. stop signal bit 7 ack bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 sda scl 06475-012 figure 19. serial interfacetypical byte transfer
ad9983a preliminary technical data rev. pra | page 24 of 44 2-wire serial register map the ad9983a is initialized and controlled by a set of registers that determine the operating modes. an external controller is e mployed to write and read the control registers through the 2-wire serial interface port. table 14. control register map hex address read/write, read only bits default value register name description 0x00 ro 7:0 chip revision an 8-bit register that represents the silicon revision level. 0x01 r/ w 7:0 0110 1001 pll div msb this register is for bits [11:4] of the pll divider. larger values mean the pll operates at a faster rate. this register should be loaded first whenever a change is needed. (this will give the pll more time to lock). 1 0x02 r/ w 7:4 1101 **** pll div lsb lsbs of the pll divider word. links to the pll div msb to make a 12-bit register. 1 0x03 r/ w 7:6 01** **** vco/cpmp vco range. selects vco frequency range. (see pll section). 5:3 **00 1*** charge pump current. varies the current that drives the low-pass filter. (see pll section). 2 **** *0** external clock enable. 0x04 r/ w 7:3 1000 0*** phase adjust adc clock phase adjustment. larger values mean more delay. (1 lsb = t/32). 0x05 r/ w 6:0 *100 0000 red gain msb 7-bit red channel gain control. controls the adc input range (contrast) of each respective channel. bigger values give less contrast. 2 0x06 r/ w 7:0 0000 0000 must be written to 0x00 following a write of reg. 0x05 for proper operation. 0x07 r/ w 6:0 *100 0000 green gain msb 7-bit green channel gain control. controls the adc input range (contrast) of each respective channel. bigger values give less contrast. 2 0x08 r/ w 7:0 0000 0000 must be written to 0x00 following a write of reg. 0x07 for proper operation. 0x09 r/ w 6:0 *100 0000 blue gain msb 7-bit blue channel gain control. controls the adc input range (contrast) of each respective channel. bigger values give less contrast. 2 0x0a r/ w 7:0 0000 0000 must be written to 0x00 following a write of reg. 0x09 for proper operation. 0x0b r/ w 7:0 0100 0000 red offset msb 8-bit msb of the red channel offset control. controls the dc offset (brightness) of each respective channel. bigger values decrease brightness. 1 0x0c r/ w 7 0*** **** red offset lsb linked with reg. 0x0b to form the 9-bit red offset that controls the dc offset (brightness) of the red channel in auto-offset mode. 0x0d r/ w 7:0 0100 0000 green offset msb 8-bit msb of the green channel offset control. controls the dc offset (brightness) of each respective channel. bigger values decrease brightness. 1 0x0e r/ w 7 0*** **** green offset lsb linked with reg. 0x0d to form the 9-bit green offset that controls the dc offset (brightness) of the green channel in auto-offset mode. 0x0f r/ w 7:0 0100 0000 blue offset msb 8-bit msb of the red channel offset control. controls the dc offset (brightness) of each respective channel. bigger values decrease brightness. 1 0x10 r/ w 7 0*** **** blue offset lsb linked with reg. 0x0f to form the 9-bit blue offset that controls the dc offset (brightness) of the blue channel in auto-offset mode. 0x11 r/ w 7:0 0010 0000 sync separator threshold this register sets the threshold of the sync separators digital comparator.
preliminary technical data ad9983a rev. pra | page 25 of 44 hex address read/write, read only bits default value register name description 0x12 r/ w 7 0*** **** hsync control active hsync override. 0 = the chip determines the active hsync source 1 = the active hsync source is set by reg. 0x12, bit 6 6 *0** **** selects the source of the hsync for pll and sync processing. this bit is used only if reg. 0x12, bit 7 is set to 1 or if both syncs are active. 0 = hsync is from hsyncx input pin 1 = hsync is from soginx 5 **0* **** hsync input polarity override. 0 = the chip selects the hsync input polarity 1 = the polarity of the input hsync is controlled by reg. 0x12, bit 4 this applies to both hsync0 and hsync1. 4 ***1 **** hsync input polarity. this bit is used on ly if reg. 0x12, bit 5 is set to 1. 0 = active low input hsync 1 = active high input hsync 3 **** 1*** sets the polarity of the hsync output signal. 0 = active low hsync output 1 = active high hsync output 0x13 r/ w 7:0 0010 0000 hsync duration sets the number of pixel clocks that hsout is active. 0x14 r/ w 7 0*** **** vsync control active vsync override. 0 = the chip determines the active vsync source 1 = the active vsync source is set by reg. 0x14, bit 6 6 *0** **** selects the source of vsync for the sync processing. this bit is used only if reg. 0x14, bit 7 is set to 1. 0 = vsync is from the vsync input pin 1 = vsync is from the sync separator 5 **0* **** vsync input polarity override. this applies to both vsync0 and vsync1. 0 = the chip selects the input vsync polarity 1 = the polarity of the input vsync is set by reg. 0x14, bit 4 4 ***1 **** vsync input polarity. this bit is used only if reg. 0x14, bit 5 is set to 1. 0 = active low input vsync 1 = active high input vsync 3 **** 1*** sets the polarity of the output vsync signal. 0 = active low output vsync 1 = active high output vsync 2 **** *0** vsync filter enable. this needs to be enabled when using the hsync to vsync counter. 0 = the vsync filter is disabled 1 = the vsync filter is enabled 1 **** **0* enables the vsync duration block. this is designed to be used with the vsync filter. 0 = vsync output duration is unchanged 1 = vsync output duration is set by reg. 0x15 0x15 r/ w 7:0 0000 1010 vsync duration sets the number of hsyncs that vs ync out is active. this is only used if reg. 0x14, bit 1 is set to 1. 0x16 r/ w 7:0 0000 0000 precoast the number of hsync periods to coast prior to vsync. 0x17 r/ w 7:0 0000 0000 postcoast the number of hsync periods to coast after vsync. 0x18 r/ w 7 0*** **** coast and clamp control coast source. selects the source of the coast signal. 0 = using internal coast generated from vsync 1 = using external coast signal from external coast pin 6 *0** **** coast polarity override. 0 = the chip selects the external coast polarity 1 = the polarity of the external coast signal is set by reg. 0x18, bit 5 5 **1* **** coast input polarity. this bit is used only if reg. 0x18, bit 6 is set to 1. 0 = active low external coast 1 = active high external coast
ad9983a preliminary technical data rev. pra | page 26 of 44 hex address read/write, read only bits default value register name description 4 ***0 **** clamp source select. 0 = use the internal clamp generated from hsync 1 = use the external clamp signal 3 **** 0*** red clamp select. 0 = clamp the red channel to ground 1 = clamp the red channel to midscale 2 **** *0** green clamp select. 0 = clamp the green channel to ground 1 = clamp the green channel to midscale 1 **** **0* blue clamp select. 0 = clamp the blue channel to ground 1 = clamp the blue channel to midscale 0 **** ***0 must be set to 0 for proper operation. 0x19 r/ w 7:0 0000 1000 clamp placement places the clamp signal an integer number of clock periods after the trailing edge of the hsync signal. 0x1a r/ w 7:0 0010 0000 clamp duration number of clock periods that the clamp signal is actively clamping. 0x1b r/ w 7 0*** **** clamp and offset external clamp polarity override. 0 = the chip selects the clamp polarity 1 = the polarity of the clamp signal is set by reg. 0x1b, bit 6 6 *1** **** external clamp input polarity. this bi t is used only if reg. 0x1b, bit 7 is set to 1. 0 = active low external clamp 1 = active high external clamp 5 **0* **** auto-offset enable. 0 = auto-offset is disabled 1 = auto-offset is enabled (offsets become the desired clamp code) 4:3 ***1 1*** auto-offset update frequency. this selects how often the auto- offset circuit operates. 00 = every 3 clamps 01 = 48 clamps 10 = every 192 clamps 11 = every 3 vsyncs 2:0 **** *011 must be written to default (011) for proper operation. 0x1c r/ w 7:0 1111 1111 testreg0 must be set to 0xff for proper operation. 0x1d r/ w 7:3 0111 1*** sog control sog slicer threshold. sets the voltage level of the sog slicers comparator. 2 **** *0** sogout polarity. sets the polarity of the signal on the sogout pin. 0 = active low sogout 1 = active high sogout 1:0 **** **00 sogout select. 00 = raw sog from sync slicer (sogin0 or sogin1) 01 = raw hsync (hsync0 or hsync1) 10 = regenerated sync from sync filter 11 = filtered sync from sync filter 0x1e r/ w 7 *** **** power channel select override. 0 = the chip determines which input channels to use 1 = the input channel selection is determined by reg. 0x1e, bit 6 6 *0** **** channel select. input channel select: this is used only if reg. 0x1e, bit 7 is set to 1, or if syncs are present on both channels. 0 = channel 0 syncs and data are selected 1 = channel 1 syncs and data are selected 5 **1* **** programmable bandwidth. 0 = low analog input bandwidth (7 mhz) 1 = high analog input bandwidth 4 ***1 **** power-down control select. 0 = manual power-down control 1 = auto power-down control
preliminary technical data ad9983a rev. pra | page 27 of 44 hex address read/write, read only bits default value register name description 3 **** 0*** power-down. 0 = normal operation 1 = power-down 2 **** *0** power-down pin polarity. 0 = active low 1 = active high 1 **** **0* power-down fast switching control. 0 = normal power-down operation 1 = the chip stays powered up an d the outputs are put in high impedance mode 0 **** ***0 sogout high impedance control. 0 = sogout operates as normal during power-down 1 = sogout is in high impedance during power-down 0x1f r/ w 7:5 100* **** output select 1 output mode. 100 = 4:4:4 output mode 101 = 4:2:2 output mode 110 = 4:4:4ddr output mode 4 ***1 **** primary output enable. 0 = primary output is in high impedance state 1 = primary output is enabled 3 **** 0*** secondary output enable. 0 = secondary output is in high impedance state 1 = secondary output is enabled 2:1 **** *10* output drive strength. 00 = low output drive strength 01 = medium output drive strength 10 = high output drive strength 11 = high output drive strength applies to all outputs except vsout. 0 **** ***0 output clock invert. 0 = noninverted pixel clock 1 = inverted pixel clock applies to all clocks output on datack. 0x20 r/ w 7:6 0*** **** output select 2 output clock select. 00 = pixel clock 01 = 90 phase shifted pixel clock 10 = 2 pixel clock 11 = 0.5 pixel clock 5 *0** **** output high impedance. 0 = normal outputs 1 = all outputs except sogout in high impedance mode 4 **0* **** sog high impedance. 0 = normal sog output 1 = sogout pin is in high impedance mode 3 ***0 **** field output polarity. sets the polar ity of the field output signal. 0 = active low => even field, active high => odd field 1 = active low => odd field, active high => even field 2 **** 1*** pll sync filter enable. 0 = pll uses raw hsync/sog 1 = pll uses filtered hsync/sog 1 **** *0** sync processing input select. selects the sync source for the sync processor. 0 = sync processing uses raw hsync/sogin 1 = sync processing uses regenerated hsync from sync filter 0 must be set to 1 for proper operation. 0x21 r/ w 7:0 0010 0000 must be set to default for proper operation. 0x22 r/ w 7:0 0011 0010 must be set to default for proper operation.
ad9983a preliminary technical data rev. pra | page 28 of 44 hex address read/write, read only bits default value register name description 0x23 r/ w 7:0 0000 1010 sync filter window width sets the window of time around the regenerated hsync leading edge (in 25 ns steps) that sync pulses are allowed to pass through. 0x24 ro 7 _*** **** sync detect hsync0 detection bit. 0 = hsync0 is not active 1 = hsync0 is active 6 *_** **** hsync1 detection bit. 0 = hsync1 is not active 1 = hsync1 is active 5 **_* **** vsync0 detection bit. 0 = vsync0 is not active 1 = vsync0 is active 4 ***_ **** vsync1 detection bit. 0 = vsync1 is not active 1 = vsync1 is active 3 **** _*** sogin0 detection bit 0 = sogin0 is not active 1 = sogin0 is active 2 **** *_** sogin1 detection bit 0 = sogin1 is not active 1 = sogin1 is active 1 **** **_* coast detection bit. 0 = external coast is not active 1 = external coast is active 0 **** ***_ clamp detection bit. 0 = external clamp is not active 1 = external clamp is active 0x25 ro 7 _*** **** sync polarity detect hsync0 polarity. 0 = hsync0 polarity is active low 1 = hsync0 polarity is active high 6 *_** **** hsync1 polarity. 0 = hsync1 polarity is active low 1 = hsync1 polarity is active high 5 **_* **** vsync0 polarity. 0 = vsync0 polarity is active low 1 = vsync0 polarity is active high 4 ***_ **** vsync1 polarity. 0 = vsync1 polarity is active low 1 = vsync1 polarity is active high 3 **** _*** coast polarity. 0 = external coast polarity is active low 1 = external coast polarity is active high 2 **** *_** clamp polarity. 0 = external clamp polarity is active low 1 = external clamp polarity is active high 1 **** **_* extraneous pulses detected. 0 = no extraneous pulses detected on hsyncx 1 = extraneous pulses detected on hsyncx 0 sync filter lock 0 = sync filter unlocked 1 = sync filter locked 0x26 ro 7:0 hsyncs per vsync msbs msbs of hsyncs per vsync count. 0x27 ro 7:4 hsyncs per vsync lsbs lsbs of hsyncs per vsync count. 0x28 r/ w 7:0 1011 1111 testreg1 must be written to reg. 0xbf for proper operation. 0x29 r/ w 7:0 0000 0010 testreg2 must be written to reg. 0x02 for proper operation. 0x2a ro 7:0 testreg3 read-only bits for future use. 0x2b ro 7:0 testreg4 read-only bits for future use.
preliminary technical data ad9983a rev. pra | page 29 of 44 hex address read/write, read only bits default value register name description 0x2c r/ w 7:5 000* **** offset hold must be writ ten to default for proper operation. 4 ***0 **** auto-offset hold. disables the auto-offset and holds the feedback result. 0 = one time update 1 = continuous update 3:0 **** 0000 must be written to default for proper operation. 0x2d r/ w 7:0 1111 0000 testreg5 must be written to reg. 0xe8 for proper operation. 0x2e r/ w 7:0 1111 0000 testreg6 must be written to reg. 0xe0 for proper operation. 0x34 r/ w 2 **** *0** sog filter sog filter enable. 0 = disable sog filter 1 = enable sog filter 0x36 r/ w 0 **** ***0 vco gear vco gear adds another range to the vcoused for lower frequencies only. 0 = disable low vco gear 1 = enable low vco gear 0x3c r/ w 7:4 0000 **** auto gain must be set to default for proper operation 3 **** 0*** auto gain matching hold 0 = disables auto gain updates and holds the current auto offset values. 1 = allows auto gain to update continuously 2:0 **** *000 auto gain matching enable 000 = auto gain is disabled 110= auto gain is enabled 1 functions with more than eight control bits, such as pll divide ratio, gain, and offset, are only updated when the lsbs are wr itten to (for example, register 0x02 for pll divide ratio). 2 gain registers (register 0x05, register 0x07, and register 0x09) when written must each be followed with a write to their next register: register 0x05 and register 0x06, register 0x07, and register 0x08, and register 0x09 and register 0x0a.
ad9983a preliminary technical data rev. pra | page 30 of 44 2-wire serial control registers chip identification 0x00bits[7:0] chip revision an 8-bit register that represents the silicon revision . pll divider control 0x01bits[7:0] pll divide ratio msbs the 8 msbs of the 12-bit pll divide ratio plldiv. the pll derives a pixel clock from the incoming hsync signal. the pixel clock frequency is then divided by an integer value, such that the output is phase-locked to hsync. this plldiv value determines the number of pixel times (pixels plus horizontal blanking overhead) per line. this is typically 20% to 30% more than the number of active pixels in the display. the 12-bit value of the pll divider supports divide ratios from 2 to 4095 as long as the output frequency is within range. the higher the value loaded in this register, the higher the resulting clock frequency with respect to a fixed hsync frequency. vesa has established some standard timing specifications, which will assist in determining the value for plldiv as a function of horizontal and vertical display resolution and frame rate (see table 10 ). however, many computer systems do not conform precisely to the recommendations and these numbers should be used only as a guide. the display system manufacturer should provide automatic or manual means for optimizing plldiv. an incorrectly set plldiv usually produces one or more vertical noise bars on the display. the greater the error, the greater the number of bars produced. the power-up default value of plldiv is 1693. plldivm = 0x69, plldivl = 0xdx. the ad9983a updates the full divide ratio only when the lsbs are written. writing to this register by itself does not trigger an update. 0x02bits[7:4] pll divide ratio lsbs the 4 lsbs of the 12-bit pll divide ratio plldiv. the power-up default value of plldiv is 1693. plldivm = 0x69, plldivl = 0xdx. clock generator control 0x03bits[7:6] vco range select two bits that establish the operating range of the clock generator. vco range must be set to correspond to the desired operating frequency (incoming pixel rate). the pll gives the best jitter performance at high frequencies. for this reason, in order to output low pixel rates and still get good jitter performance, the pll actually operates at a higher frequency but then divides down the clock rate afterwards. see table 15 for the pixel rates for each vco range setting. the pll output divisor is auto- matically selected with the vco range setting. the power-up default value is 01. table 15. vco ranges vco range results (pixel rates) 00 10 to 21 01 21 to 42 10 42 to 84 11 84 to 95 0x03bits[5:3] charge pump current three bits that establish the current driving the loop filter in the clock generator. the current must be set to correspond with the desired operating frequency. the power-up default value is current = 001. table 16. charge pump currents ip2 ip1 ip0 results (current) 0 0 0 50 0 0 1 100 0 1 0 150 0 1 1 250 1 0 0 350 1 0 1 500 1 1 0 750 1 1 1 1500 0x03bit[2] extern al clock enable this bit determines the source of the pixel clock. table 17. external clock select settings extck function 0 internally generated clock 1 externally provided clock signal a logic 0 enables the internal pll that generates the pixel clock from an externally provided hsync. a logic 1 enables the external extck input pin. in this mode, the pll divide ratio (plldiv) is ignored. the clock phase adjust (phase) is still functional. the power-up default value is extck = 0. phase adjust 0x04bits[7:3] phase adjustment for the dll to generate the adc clock. a 5-bit value that adjusts the sampling phase in 32 steps across one pixel time. each step represents an 11.25 shift in sampling phase. the power up default is 16.
preliminary technical data ad9983a rev. pra | page 31 of 44 input gain 0x05bits[6:0] red ch annel gain adjust the 7-bit red channel gain control. the ad9983a can accommodate input signals with a full-scale range of between 0.5 v and 1.0 v p-p. setting the red gain to 127 corresponds to an input range of 1.0 v. a red gain of 0 establishes an input range of 0.5 v. note that increasing red gain results in the picture having less contrast (the input signal uses fewer of the available converter codes). values written to this register do not update until the following register (register 0x06) has been written to 0x00. the power-up default is 100 0000. 0x07bits[6:0] green ch annel gain adjust the 7-bit green channel gain control. see red channel gain adjust above. register update requires writing 0x00 to register 0x08. 0x09bits[6:0] blue ch annel gain adjust the 7-bit blue channel gain control. see red channel gain adjust above. register update requires writing 0x00 to register 0x0a. input offset 0x0bbits[7:0] red channel offset the 8-bit msb of the red channel offset control. along with the lsb in the following register, there are 9 bits of dc offset control in the red channel. the offset control shifts the analog input, resulting in a change in brightness. note that the function of the offset register depends on whether auto-offset is enabled (register 0x1b, bit 5). if auto-offset is disabled, the lower 7 bits of the offset registers (for the red channel register 0x0b, bits [5:0] plus register 0x0c, bit 7) control the absolute offset added to the channel. the offset control provides a 63 lsbs of adjustment range, with 1 lsb of offset corresponding to 1 lsb of output code. if auto-offset is enabled, the 9-bit offset (comprised of the 8 bits of the msb register and bit 7 of the following register) determines the clamp target code. the 9-bit offset consists of 1 sign bit plus 8 bits. if the register is programmed to 130d, then the output code is equal to 130d at the end of the clamp period. incrementing the offset register setting by 1 lsb adds 1 lsb of offset, regardless of the auto-offset setting. values written to this register are not updated until the lsb register (register 0x0c) has also been written. 0x0cbit[7] red channel offset lsb the lsb of the red channel offset control combines with the 8 bits of msb in the previous register to make 9 bits of offset control. 0x0dbits[7:0] green channel offset the 8-bit green channel offset control. see red channel offset (0x0b). update of this register occurs only when register 0x0e is also written. 0x0ebit[7] green channel offset lsb the lsb of the green channel offset control combines with the 8 bits of msbs in the previous register to make 9 bits of offset control. 0x0fbits[7:0] blue channel offset the 8-bit blue channel offset control. see 0x0bbits[7:0] red channel offset . update of this register occurs only when register 0x10 is also written. 0x10bit[7] blue channel offset lsb the lsb of the blue channel offset control combines with the 8 bits of msb in the previous register to make 9 bits of offset control. hsync controls 0x11bits[7:0] sync separator threshold this register sets the threshold of the sync separators digital comparator. the value written to this register is multiplied by 200 ns to get the threshold value. therefore, if a value of 5 is written, the digital comparator threshold is 1 s and any pulses less than 1 s are rejected by the sync separator. there is some variability to the 200 ns multiplier value. the maximum variability over all operating conditions is 20% (160 ns to 240 ns). since normal vsync and hsync pulse widths differ by a factor of about 500 or more, the 20% variability is not an issue. the power-up default value is 32 ddr. 0x12bit[7] hsync source override this is the active hsync override. setting this to 0 allows the chip to determine the active hsync source. setting it to 1 uses bit 6 of register 0x12 to determine the active hsync source. power-up default value is 0. table 18. active hsync source override override result 0 hsync source determined by chip 1 hsync source determined by user register 0x12, bit 6 0x12bit[6] hsync source this bit selects the source of the hsync for pll and sync processingonly if bit 7 of register 0x12 is set to 1 or if both syncs are active. setting this bit to 0 specifies the hsync from the input pin. setting it to 1 selects hsync from sog. power-up default is 0. table 19. active hsync select settings select result 0 hsync input 1 hsync from sog
ad9983a preliminary technical data rev. pra | page 32 of 44 0x12bit[5] hsync input polarity override this bit determines whether the chip selects the hsync input polarity or if it is specified. setting this bit to 0 allows the chip to automatically select the polarity of the input hsync; setting it to 1 indicates that bit 4 of register 0x12 specifies the polarity. power-up default is 0. table 20. hsync input polarity override settings override bit result 0 hsync polarity determined by chip 1 hsync polarity determined by user register 0x12, bit 4 0x12bit[4] hsync input polarity if bit 5 of register 0x12 is 1, the value of this bit specifies the polarity of the input hsync. setting this bit to 0 indicates an active low hsync; setting this bit to 1 indicates an active high hsync. power-up default is 1. table 21. hsync input polarity settings hsync polarity bit result 0 hsync input polarity is negative 1 hsync input polarity is positive 0x12bit[3] hsync output polarity this bit sets the polarity of the hsync output. setting this bit to 0 sets the hsync output to active low. setting this bit to 1 sets the hsync output to active high. power-up default setting is 1. table 22. hsync output polarity settings hsync output polarity bit result 0 hsync output polarity is negative 1 hsync output polarity is positive 0x13bits[7:0] hsync duration an 8-bit register that sets the duration of the hsync output pulse. the leading edge of the hsync output is triggered by the internally-generated, phase-adjusted pll feedback clock. the ad9983a then counts a number of pixel clocks equal to the value in this register. this triggers the trailing edge of the hsync output, which is also phase-adjusted. vsync controls 0x14bit[7] vsync source override this is the active vsync override. setting this to 0 allows the chip to determine the active vsync source, setting it to 1 uses bit 6 of register 0x14 to determine the active vsync source. power-up default value is 0. table 23. active vsync source override override result 0 vsync source determined by chip 1 vsync source determined by user register 0x14, bit 6 0x14bit[6] vsync source this bit selects the source of the vsync for sync processing only if bit 7 of register 0x14 is set to 1. setting bit 6 to 0 specifies the vsync from the input pin; setting it to 1 selects vsync from the sync separator. power-up default is 0. table 24. active vsync select settings select result 0 vsync input 1 vsync from sync separator 0x14bit[5] vsync input polarity override this bit sets whether the chip selects the vsync input polarity or if it is specified. setting this bit to 0 allows the chip to automatically select the polarity of the input vsync. setting this bit to 1 indicates that bit 4 of register 0x14 specifies the polarity. power-up default is 0. table 25. vsync input polarity override settings override bit result 0 vsync polarity determined by chip 1 vsync polarity determined by user register 0x14, bit 4 0x14bit[4] vsync input polarity if bit 5 of register 0x14 is 1, the value of this bit specifies the polarity of the input vsync. setting this bit to 0 indicates an active low vsync; setting this bit to 1 indicates an active high vsync. power-up default is 1. table 26. vsync input polarity settings override bit result 0 vsync input polarity is negative 1 vsync input polarity is positive 0x14bit[3] vsync output polarity this bit sets the polarity of the vsync output. setting this bit to 0 sets the vsync output to active low. setting this bit to 1 sets the vsync output to active high. power-up default is 1. table 27. vsync output polarity settings vsync output polarity bit result 0 vsync output polarity is negative 1 vsync output polarity is positive 0x14bit[2] vsync filter enable this bit enables the vsync filter allowing precise placement of the vsync with respect to the hsync and facilitating the correct operation of the hsyncs/vsync count. table 28. vsync filter enable vsync filter bit result 0 vsync filter disabled 1 vsync filter enabled
preliminary technical data ad9983a rev. pra | page 33 of 44 0x14bit[1] vsync duration enable this enables the vsync duration block, which is designed to be used with the vsync filter. setting the bit to 0 leaves the vsync output duration unchanged. setting the bit to 1 sets the vsync output duration based on register 0x15. power-up duration is 0. table 29. vsync duration enable vsync duration bit result 0 vsync output durati on is unchanged 1 vsync output duration is set by register 0x15 0x15bits[7:0] vsync duration this is used to set the output duration of the vsync, and is designed to be used with the vsync filter. this is valid only if register 0x14, bit 1 is set to 1. power-up default is 10 ddr. coast and clamp controls 0x16bits[7:0] precoast this register allows the internally generated coast signal to be applied prior to the vsync signal. this is necessary in cases where pre-equalization pulses are present. the step size for this control is one hsync period. for precoast to work correctly, it is necessary for the vsync filter (0x14, bit 2) and sync processing filter (register 0x20, bit 1) both to be either enabled or disabled. the power-up default is 00. 0x17bits[7:0] postcoast this register allows the internally generated coast signal to be applied following the vsync signal. this is necessary in cases where postequalization pulses are present. the step size for this control is one hsync period. for postcoast to work correctly, it is necessary for the vsync filter (0x14, bit 2) and sync processing filter (0x20, bit 1) both to be either enabled or disabled. the power-up default is 00. 0x18bit[7] coast source this bit is used to select the active coast source. the choices are the coast input pin or vsync. if vsync is selected, the additional decision of using the vsync input pin or the output from the sync separator needs to be made (register 0x14, bits [7: 6]). table 30. coast source selection settings select result 0 vsync (internal coast) 1 coast input pin 0x18bit[6] coast polarity override this register is used to override the internal circuitry that determines the polarity of the coast signal going into the pll. the power-up default setting is 0. table 31. coast polarity override settings override bit result 0 coast polarity determined by chip 1 coast polarity determined by user 0x18bit[5] coast input polarity this register sets the input coast polarity when bit 6 of register 0x18 = 1. the power-up default setting is 1. table 32. coast polarity settings coast polarity bit result 0 coast polarity is negative 1 coast polarity is positive 0x18bit[4] clamp source select this bit determines the source of clamp timing. a 0 enables the clamp timing circuitry controlled by clamp placement and clamp duration. the clamp position and duration is counted from the leading edge of hsync. a 1 enables the external clamp input pin. the three channels are clamped when the clamp signal is active. the polarity of clamp is determined by the clamp polarity bit. the power-up default setting is 0. table 33. clamp source selection settings clamp source result 0 internally generated clamp 1 externally provided clamp signal 0x18bit[3] red clamp select this bit determines whether the red channel is clamped to ground or to midscale. the power-up default setting is 0. table 34. red clamp select settings clamp result 0 clamp to ground 1 clamp to midscale 0x18bit[2] green clamp select this bit determines whether the green channel is clamped to ground or to midscale. the power-up default setting is 0. table 35. green clamp select settings clamp result 0 clamp to ground 1 clamp to midscale 0x18bit[1] blue clamp select this bit determines whether the blue channel is clamped to ground or to midscale. the power-up default setting is 0. table 36. blue clamp select settings clamp result 0 clamp to ground 1 clamp to midscale
ad9983a preliminary technical data rev. pra | page 34 of 44 0x19bits[7:0] clamp placement an 8-bit register that sets the position of the internally generated clamp. when extclmp = 0 (register 0x18, bit 4), a clamp signal is generated internally, at a position established by the clamp placement register (register 0x19) and for a duration set by the clamp duration register (register 0x1a). clamping is started a clamp placement count(register 0x19) of pixel periods after the trailing edge of hsync. the clamp placement may be programmed to any value between 1 and 255. a value of 0 is not supported. the clamp should be placed during a time that the input signal presents a stable black-level reference, usually the back porch period between hsync and the image. when extclmp = 1, this register is ignored. power-up default setting is 8. 0x1abits[7:0] clamp duration an 8-bit register that sets the duration of the internally generated clamp. when extclmp = 0 (register 0x18, bit 4), a clamp signal is generated internally at a position established by the clamp placement register (and for a duration set by the clamp duration register). clamping begins a clamp placement count (register 0x19) of pixel periods after the trailing edge of hsync. the clamp duration may be programmed to any value between 1 and 255. a value of 0 is not supported. for the best results, the clamp duration should be set to include the majority of the black reference signal time that follows the hsync signal trailing edge. insufficient clamping time can produce brightness changes at the top of the screen, and a slow recovery from large changes in the average picture level (apl), or bright-ness. when extclmp = 1, this register is ignored. power-up default setting is 20 ddr. 0x1bbit[7] clamp polarity override this bit is used to override the internal circuitry that determines the polarity of the clamp signal. the power-up default setting is 0. table 37. clamp polarity override settings override bit result 0 clamp polarity determined by chip 1 clamp polarity determined by user register 0x1b, bit 6 0x1bbit[6] clamp input polarity this bit indicates the polarity of the clamp signal only if bit 7 of register 0x1b = 1. the power-up default setting is 1. table 38. clamp polarity override settings value result 0 active low external clamp 1 active high external clamp 0x1bbit[5] auto-offset enable this bit selects between auto-offset mode and manual offset mode (auto-offset disabled) (see the section on auto-offset operation). the power-up default setting is 0. table 39. auto-offset settings auto-offset result 0 auto-offset is disabled 1 auto-offset is enabled (manual offset mode) 0x1bbits[4:3] auto-off set update frequency these bits control how often the auto-offset circuit is updated (if enabled). updating every 64 hsyncs is recommended. the power-up default setting is 11. table 40. auto-offset update mode clamp update result 00 update offset every clamp period 01 update offset every 16 clamp periods 10 update offset every 64 clamp periods 11 update offset every vsync periods 0x1bbits[2:0] must be written to 011 for proper operation. sog control 0x1dbits[7:3] sog slicer threshold this register allows the comparator threshold of the sog slicer to be adjusted. this register adjusts it in steps of 8 mv, with the minimum setting equaling 8 mv and the maximum setting equaling 256 mv. the power-up default setting is 15 ddr and corresponds to a threshold value of 128 mv. 0x1dbit[2] sogout polarity this bit sets the polarity of the sogout signal. the power-up default setting is 0. table 41. sogout polarity settings sogout result 0 active low 1 active high 0x1dbits[1:0] sogout select these register bits control what is output on the sogout pin. options are the raw sog from the slicer (this is the unprocessed sog signal produced from the sync slicer), the raw hsync, the regenerated sync from the sync filter, which can generate missing syncs either due to coasting or drop-out, or finally the filtered sync which excludes extraneous syncs not occurring within the sync filter window. the power-up default setting is 0. table 42. sogout select sogout select function 00 raw sog from sync slicer (sogin0 or sogin1) 01 raw hsync (hsync0 or hsync1) 10 regenerated hsync from sync filter 11 filtered hsync from sync filter
preliminary technical data ad9983a rev. pra | page 35 of 44 input and power control 0x1ebit[7] channel select override this bit provides an override to the automatic input channel selection. power-up default setting is 0. table 43. channel source override override result 0 channel input source determined by chip 1 channel input source determined by user register 0x1e, bit 6 0x1ebit[6] channel select this bit selects the active input channel if register 0x1e, bit 7 = 1. this selects between channel 0 data and syncs or channel 1 data and syncs. power-up default setting is 0. table 44. channel select channel select result 0 channel 0 data and syncs are selected 1 channel 1 data and syncs are selected 0x1ebit[5] programmable bandwidth this bit selects between a low or high input bandwidth. it is useful in limiting noise for lower frequency inputs. the power- up default setting is 1. low analog input bandwidth is ~100 mhz; high analog input bandwidth is ~200 mhz. table 45. input bandwidth select. input bandwidth result 0 low analog input bandwidth 1 high analog input bandwidth 0x1ebit[4] power-down control select this bit determines whether power-down is controlled manually or automatically by th e chip. if automatic control is selected (register 0x1e, bit 4) , the ad9983a decision is based on the status of the sync detect bits (register 0x24, bit 2, bit 3, bit 6, and bit 7). if either an hsync or a sync-on-green input is detected on any input, the chip powers up or powers down. for manual control, the ad9983a allo ws the flexibility of control through both a dedicated pin and a register bit. the dedicated pin allows a hardware watchdog circuit to control power-down, while the register bit allows power-down to be controlled by software. with manual power-down control, the polarity of the power-down pin must be set (register 0x1e, bit 2) whether it is used or not. if unused, it is re commended to set the polarity to active high and hardwire the pin to ground with a 10 k resistor . table 46. auto power-down select. power-down select result 0 manual power-down control (user determines power-down) 1 auto power-down control (chip determines power-down) 0x1ebit[3] power-down this bit is used to manually place the chip in power-down mode. it is only used if manual power-down control is selected (see bit 4 above). both the state of this register bit and the power-down pin (pin 17) are used to control manual power- down. (see the power management section for more details on power-down.) table 47. power-down settings power-down select pin 17 result 0 0 normal operation 1 x power-down 0x1ebit[2] power-down pin polarity this bit defines the polarity of the power-down pin (pin 17). it is only used if manual power-down control is selected (see 0x1ebit[4] power-down control select) . table 48. power-down pin polarity select result 0 power-down pin is active low 1 power-down pin is active high 0x1ebit[1] power-down fast switching control this bit controls a special fast switching mode. with this bit the ad9983a can stay active during power-down and only put the outputs in high impedance. this option is useful when the data outputs from two chips are connected on a pcb and the user wants to switch instantaneously between the two . table 49. power-down fast switching control fast switching control result 0 normal power-down operation 1 the chip stays powered up and the outputs are put in high impedance mode 0x1ebit[0] sogout hi gh impedance control this bit controls whether the sogout pin is in high impedance or not, when in power-down mode. in most cases, sogout is not put in high impedance during normal oper- ation. it is usually needed for sync detection by the graphics controller. the option to put sogout in high impedance is included mainly to allow for factory testing modes. table 50. sogout high impedance control sogout control result 0 sogout operates as normal during power-down 1 sogout is in high impedance during power-down
ad9983a preliminary technical data rev. pra | page 36 of 44 output control 0x1fbits[7:5] output mode these bits choose between three options for the output mode. in 4:4:4 mode, rgb is standard. in 4:2:2 mode, ycbcr is standard, which allows a reduction in the number of output pins from 24 to 16. in 4:4:4 ddr output mode, the data is in rgb mode, but changes on every clock edge. the power-up default setting is 100. table 51. output mode output mode result 100 4:4:4 rgb mode 101 4:2:2 ycbcr mode 110 4:4:4 ddr mode 0x1fbit[4] primary output enable this bit places the primary output in active or high impedance mode. the power-up default setting is 1. table 52. primary output enable select result 0 primary output is in high impedance mode 1 primary output is enabled 0x1fbit[3] secondary output enable this bit places the secondary output in active or high impedance mode. the secondary output is designated when using either 4:2:2 or 4:4:4 ddr. in these modes, the data on the blue output channel is the secondary output while the output data on the red and green channels are the primary output. secondary output is always a ddr ycbcr data mode. see the output formatter section and table 12 . the power-up default setting is 0. table 53. secondary output enable select result 0 secondary output is in high impedance mode 1 secondary output is enabled 0x1fbits[2:1] output drive strength these two bits select the drive strength for all the high-speed digital outputs (except vsout, a0, and the o/e field). higher drive strength results in faster rise/fall times and in general makes it easier to capture data. lower drive strength results in slower rise/fall times and helps to reduce emi and digitally generated power supply noise. the power-up default setting is 10. table 54. output drive strength output drive result 00 low output drive strength 01 medium low output drive strength 10 medium high output drive strength 11 high output drive strength 0x1fbit[0] output clock invert this bit allows inversion of the output clock. the power-up default setting is 0. table 55. output clock invert select result 0 noninverted pixel clock 1 inverted pixel clock 0x20bits[7:6] output clock select these bits allow selection of optional output clocks such as a fixed 40 mhz clock, a 2 clock, a 90 phase-shifted clock, or the normal pixel clock. the power-up default setting is 00. table 56. output clock select select result 00 pixel clock 01 90 phase-shifted pixel clock 10 2 pixel clock 11 40 mhz internal clock 0x20bit[5] output high impedance this bit puts all outputs (except sogout) in a high impedance state. the power-up default setting is 0. table 57. output high impedance select result 0 normal outputs 1 all outputs (except sogout) in high impedance mode 0x20bit[4] sog high impedance this bit allows the sogout pin to be placed in high impedance mode. the power-up default setting is 0. table 58. sogout high impedance select result 0 normal sog output 1 sogout pin is in high impedance mode 0x20bit[3] field output polarity this bit sets the polarity of the field output bit. the power-up default setting is 1. table 59. field output polarity select result 0 active low = even field; active high = odd field 1 active low = odd field; active high = even field
preliminary technical data ad9983a rev. pra | page 37 of 44 sync processing 0x20bit[2] pll sync filter this bit selects which signal the pll uses. it can select between either raw hsync or sog or filtered versions. the filtering of the hsync and sog can eliminate nearly all extraneous transitions, which have traditionally caused pll disruption. the power-up default setting is 0. table 60. pll sync filter enable select result 0 pll uses raw hsync or sog inputs 1 pll uses filtered hsync or sog inputs 0x20bit[1] sync processing input source this bit selects whether the sync processor uses a raw sync or a regenerated sync for the following functions: coast, h/v count, field detection and vsync duration counts. using the regenerated sync is recommended. table 61. sp filter enable select result 0 sync processing uses raw hsync or sog 1 sync processing uses the internally regenerated hsync 0x21bits[7:0] must be set to default 0x22bits[7:0] must be set to default 0x23bits[7:0] sync filter window width this 8-bit register sets the window of time for the regenerated hsync leading edge (in 25 ns steps) and that sync pulses are allowed to pass through. therefore with the default value of 10, the window width is 250 ns. the goal is to set the window width so that extraneous pulses are rejected. (see the sync processing section). as in the sync separator threshold, the 25 ns multiplier value is somewhat variable. the maximum variability over all operating conditions is 20% (20 ns to 30 ns). detection status 0x24bit[7] hsync0 detection bit this bit is used to indicate when activity is detected on the hsync0 input pin. if hsync is held high or low, activity is not detected. the sync processing block diagram shows where this function is implemented. 0 = hsync0 not active. 1 = hsync0 is active. table 62. hsync0 detection results detect result 0 no activity detected 1 activity detected 0x24bit[6] hsync1 detection bit this bit is used to indicate when activity is detected on the hsync1 input pin. if hsync is held high or low, activity is not detected. the sync processing block diagram shows where this function is implemented. 0 = hsync1 not active. 1 = hsync1 is active. table 63. hsync1 detection results detect result 0 no activity detected 1 activity detected 0x24bit[5] vsync0 detection bit this bit is used to indicate when activity is detected on the vsync0 input pin. if vsync is held high or low, activity is not detected. the sync processing block diagram shows where this function is implemented. 0 = vsync0 not active. 1 = vsync0 is active. table 64. vsync0 detection results detect result 0 no activity detected 1 activity detected 0x24bit[4] vsync1 detection bit this bit is used to indicate when activity is detected on the vsync1 input pin. if vsync is held high or low, activity is not detected. the sync processing block diagram shows where this function is implemented. 0 = vsync1 not active. 1 = vsync1 is active. table 65. vsync1 detection results detect result 0 no activity detected 1 activity detected 0x24bit[3] sogin0 detection bit this bit is used to indicate when activity is detected on the sogin0 input pin. if sog is held high or low, activity is not detected. the sync processing block diagram shows where this function is implemented. 0 = sogin0 not active. 1 = sogin0 is active. table 66. sogin0 detection results detect result 0 no activity detected 1 activity detected
ad9983a preliminary technical data rev. pra | page 38 of 44 0x24bit[2] sogin1 detection bit this bit is used to indicate when activity is detected on the sogin1 input pin. if sog is held high or low, activity is not detected. the sync processing block diagram shows where this function is implemented. 0 = sogin1 not active. 1 = sogin1 is active. table 67. sogin1 detection results detect result 0 no activity detected 1 activity detected 0x24bit[1] coast detection bit this bit detects activity on the extck/coast pin. it indicates that one of the two signals is active, but it does not indicate which one. a dc signal is not detected. table 68. coast detection result detect result 0 no activity detected 1 activity detected 0x24bit[0] clamp detection bit this bit is used to indicate when activity is detected on the external clamp pin. if external clamp is held high or low, activity is not detected. table 69. clamp detection results detect result 0 no activity detected 1 activity detected polarity status 0x25bit[7] hsync0 polarity indicates the polarity of hsync0 input. table 70. detected hsync0 polarity results detect result 0 hsync polarity is negative 1 hsync polarity is positive 0x25bit[6] hsync1 polarity indicates the polarity of hsync1 input. table 71. detected hsync1 polarity results detect result 0 hsync polarity is negative 1 hsync polarity is positive 0x25bit[5] vsync0 polarity indicates the polarity of vsync0 input. table 72. detected vsync0 polarity results detect result 0 vsync polarity is negative 1 vsync polarity is positive 0x25bit[4] vsync1 polarity indicates the polarity of vsync1 input. table 73. detected vsync1 polarity results detect result 0 vsync polarity is negative 1 vsync polarity is positive 0x25bit[3] coast polarity indicates the polarity of the external coast signal. table 74. detected coast polarity results detect result 0 coast polarity is negative 1 coast polarity is positive 0x25bit[2] clamp polarity indicates the polarity of the clamp signal. table 75. detected clamp polarity results detect result 0 clamp polarity is negative 1 clamp polarity is positive 0x25bit[1] extraneous pulses detection a second output from the hsync filter, this status bit tells whether extraneous pulses are present on the incoming sync signal. often extraneous pulses are used for copy protection, so this status bit can be used for this purpose. table 76. equalization pulse detect bit detect result 0 no equalization pulses detected during active hsync 1 equalization pulses dete cted during active hsync hsync count 0x26bits[7:0] hsyncs per vsync msb the 8 msbs of the 12-bit counter that reports the number of hsyncs/vsync on the active input. this is useful for determining the mode and is an aid in setting the pll divide ratio. 0x27bits[7:4] hsyncs per vsync lsbs the 4 lsbs of the 12-bit counter that reports the number of hsyncs/vsync on the active input. test registers 0x28bits[7:0] test register 1 must be written to 0xbf for proper operation. 0x29bits[7:0] test register 2 must be written to 0x00 for proper operation. 0x2abits[7:0] test register 3 read-only bits for future use. 0x2bbits[7:0] test register 4 read-only bits for future use.
preliminary technical data ad9983a rev. pra | page 39 of 44 0x2cbits[7:5] auto-offset hold must be written to 0x00 for proper operation. 0x2cbit[4] auto-offset hold a bit for controlling whether the auto-offset function runs continuously or runs once and holds the result. continuous updates are recommended because this allows the ad9983a to compensate for drift over time and temperature. if one-time updates are preferred, these should be performed every time the part is powered up and when there is a mode change. to do a one-time update, first auto-offset must be enabled (register 0x1b, bit 5). next, this bit (auto-offset hold) must first be set to 1 to let the auto-offset function operate and settle to a final value. auto-offset hold should then be set to 0 to hold the offset values that the auto circuitry calculates. the ad9983a auto- offset circuits maximum settle time is 10 updates. for example, if the update frequency is set to once every 64 hsyncs, then the maximum settling time would be 640 hsyncs (10 64 hsyncs). table 77. auto-offset hold select result 0 disables auto-offset updates and holds the current auto-offset values 1 allows auto-offset to update continuously 0x2cbits[3:0] must be written to 0x0 for proper operation. 0x2dbits[7:0] test register 5 read/write bits for future use. must be written to 0xe8 for proper operation. 0x2ebits[7:0] test register 6 read/write bits for future use. must be written to 0xe0 for proper operation. 0x34bit[2] sog filter enable this bit enables the sog filter, which will reject inputs with a width of less than 250 ns. this aids the pll in the ability to ignore extraneous (non-valid) sync pulses. table 78. sog filter enable select result 0 sog filter disabled 1 sog filter enabled 0x36bit[0] vco gear select this bit allows the vco to select a lower gear which enables it to run lower pixel clocks while remaining in a more linear range. table 79. vco gear select select result 0 normal vco setting 1 enables lower vco clock output 0x3cbits[7:4] test bits must be set to 0x0 for proper operation. 0x3cbit[3] auto gain matching hold a bit for controlling whether the auto gain matching function runs continuously or runs once and holds the result. continuous updates are recommended because it allows the ad9983a to compensate for drift over time and temperature. if one-time updates are preferred, these should be performed every time the part is powered up and when there is a mode change. to do a one-time update, first auto gain matching must be enabled (register ox3c, bit 2). next, this bit (auto gain matching hold) must first be set to 1 to let the auto gain matching function operate and settle to a final value. the auto gain matching hold bit should then be set to 0 to hold the gain values that the auto circuitry calculates. the ad9983a auto gain matching circuits maximum settle time is 10 updates. for example, if the update frequency is set to once every 64 hsyncs, then the maximum settling time would be 640 hsyncs (10 x 64 hsyncs). table 80. auto gain hold select result 0 disables auto gain updates and holds the current auto offset values 1 allows auto gain to update continuously the power-up default setting is 0. 0x3cbits[2:0] auto gain matching enable these bits enable or disable the auto gain matching function. when set to 000, the auto gain matching function is disabled; when set to 110 the auto gain ma tching function is enabled. table 81. auto gain matching enable select result 000 auto gain matching disabled 110 auto gain matching enabled
ad9983a preliminary technical data rev. pra | page 40 of 44 pcb layout recommendations the ad9983a is a high precision, high speed analog device. to achieve the maximum performance from the part, it is important to have a well laid-out board. the analog interface inputs section provides a guide for designing a board using the ad9983a. analog interface inputs using the following layout techniques on the graphics inputs is extremely important: ? minimize the trace length running into the graphics inputs. this is accomplished by placing the ad9983a as close as possible to the graphics vga connector. long input trace lengths are undesirable because they pick up noise from the board and other external sources. ? place the 75 termination resistors (see figure 4 ) as close as possible to the ad9983a chip. any additional trace length between the termination resistors and the input of the ad9983a increases the magnitude of reflections, which corrupts the graphics signal. ? use 75 matched impedance traces. trace impedances other than 75 also increase the chance of reflections. ? the ad9983a has a very high input bandwidth, (200 mhz). while this is desirable for acquiring a high resolution pc graphics signal with fast edges, it also means that it captures any high frequency noise present. therefore, it is important to reduce the amount of noise coupled to the inputs. avoid running any digital traces near the analog inputs. ? due to the high bandwidth of the ad9983a, sometimes low-pass filtering the analog inputs can help to reduce noise. (for many applications, filtering is unnecessary.) experiments have shown that placing a ferrite bead in series prior to the 75 termination resistor is helpful in filtering excess noise. specifically, the fair-rite #2508051217z0 was used, but an application could work best with a different bead value. alternatively, placing a 100 to 120 resistor between the 75 termination resistor and the input coupling capacitor is beneficial. power supply bypassing it is recommended to bypass each power supply pin with a 0.1 f capacitor. the exception is where two or more supply pins are adjacent to each other. for these groupings of powers/grounds, it is only necessary to have one bypass capacitor. the fundamental idea is to have a bypass capacitor within about 0.5 cm of each power pin. also, avoid placing the capacitor on the opposite side of the pc board from the ad9983a, since that interposes resistive vias in the path. the bypass capacitors should be physically located between the power plane and the power pin. current should flow from the power plane to the capacitor to the power pin. do not make the power connection between the capacitor and the power pin. placing a via underneath the capacitor pads, down to the power plane, is generally the best approach. it is particularly important to maintain low noise and good stability of the pv d (the clock generator supply). abrupt changes in pv d can result in similarly abrupt changes in sampling clock phase and frequency. this can be avoided with careful attention to regulation, filtering, and bypassing. it is highly desirable to provide separate regulated supplies for each of the analog circuitry groups (v d and pv d ). some graphic controllers use substantially different levels of power when active (during active picture time) and when idle (during horizontal and vertical sync periods). this can result in a measurable change in the voltage supplied to the analog supply regulator, which can in turn produce changes in the regulated analog supply voltage. this can be mitigated by regulating the analog supply, or at least pv d , from a different, cleaner, power source (for example, from a 12 v supply). it is also recommended to use a single ground plane for the entire board. experience has repeatedly shown that the noise performance is the same or better with a single ground plane. using multiple ground planes can be detrimental because each separate ground plane is smaller and long ground loops can result. in some cases, using separate ground planes is unavoidable. for those cases, it is recommended to at least place a single ground plane under the ad9983a. the location of the split should be at the receiver of the digital outputs. in this case it is even more important to place components wisely because the current loops will be much longer, (current takes the path of least resistance). an example of a current loop is power plane to ad9983a to digital output trace to digital data receiver to digital ground plane to analog ground plane. pll place the pll loop filter components as close to the filt pin as possible. do not place any digital or other high frequency traces near these components. use the values suggested in the data- sheet with 10% tolerances or less.
preliminary technical data ad9983a rev. pra | page 41 of 44 outputs (both data and clocks) try to minimize the trace length that the digital outputs have to drive. longer traces have higher capacitance and require more instantaneous current to drive, which creates more internal digital noise. shorter traces reduce the possibility of reflections. adding a series resistor of value 50 to 200 can suppress reflections, reduce emi, and reduce the current spikes inside of the ad9983a. if series resistors are used, place them as close to the ad9983a pins as possible, but try not to add vias or extra length to the output trace to get the resistors closer. if possible, limit the capacitance that each digital output drives to less than 10 pf. this is easily accomplished by keeping traces short and by connecting the outputs to only one device. loading the outputs with excessive capacitance increases the current transients inside of the ad9983a and creates more digital noise on its power supplies. digital inputs digital inputs on the ad9983a (hsync0, hsync1, vsync0, vsync1, sogin0, sogin1, sda, scl, and clamp) are designed to work with 3.3 v signals, but are tolerant of 5.0 v signals. therefore, no extra components need to be added if using 5.0 v logic. any noise that gets onto the hsync input trace adds jitter to the system. therefore, minimize the trace length and do not run any digital or other high frequency traces near it. reference bypass the ad9983a has three reference voltages that must be bypassed for proper operation of the input pga. reflo and refhi are connected to each other through a 10 f capacitor. these references are used by the input pga circuitry to assure the greatest stability. place them as close to the ad9983a pin as possible. make the ground connection as short as possible.
ad9983a preliminary technical data rev. pra | page 42 of 44 outline dimensions compliant to jedec standards ms-026-bec 1.45 1.40 1.35 0.15 0.05 0.20 0.09 0.10 coplanarity view a rotated 90 ccw seating plane 7 3.5 0 61 60 1 80 20 41 21 40 view a 1.60 max 0.75 0.60 0.45 16.20 16.00 sq 15.80 14.20 14.00 sq 13.80 0.65 bsc lead pitch 0.38 0.32 0.22 top view (pins down) pin 1 051706-a figure 20. 80-lead low profile quad flat pack [lqfp] (st-80-2) dimensions shown in millimeters pin 1 indicator top view 8.75 bsc sq 9.00 bsc sq 1 64 16 17 49 48 32 33 0.50 0.40 0.30 0.50 bsc 0.20 ref 12 max 0.80 max 0.65 typ 1.00 0.85 0.80 7.50 ref 0.05 max 0.02 nom 0.60 max 0.60 max * 4.85 4.70 sq 4.55 exposed pad (bottom view) * compliant to jedec standards mo-220-vmmd-4 except for exposed pad dimension 063006-b seating plane pin 1 indicator 0.30 0.25 0.18 figure 21. 64-lead lead frame chip scale package [lfcsp_vq] 9 mm 9 mm body, very thin quad (cp-64-1) dimensions shown in millimeters ordering guide model temperature range package description package option ad9983akstz-140 1 0c to 70c 80-lead low profile quad flat pack [lqfp] st-80-2 AD9983AKSTZ-170 1 0c to 70c 80-lead low profile quad flat pack [lqfp] st-80-2 ad9983akcpz-140 1 0c to 70c 64-lead lead frame chip scale package [lfcsp_vq] cp-64-1 ad9983akcpz-170 1 0c to 70c 64-lead lead frame chip scale package [lfcsp_vq] cp-64-1 ad9983a/pcb evaluation kit 1 z = pb-free part.
preliminary technical data ad9983a rev. pra | page 43 of 44 notes
ad9983a preliminary technical data rev. pra | page 44 of 44 notes ?2007 analog devices, inc. all rights reserved. trademarks and registered trademarks are the property of their respective owners. pr06475-0-2/07(pra)


▲Up To Search▲   

 
Price & Availability of AD9983AKSTZ-170

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X